Function TWPRTFDataCursor.GotoMarker(Collect:Boolean; DroppMarkerID:Integer) : Boolean

Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCursor

Parameters

  • Collect:Boolean
  • DroppMarkerID:Integer

Returns

The type of the result value is Boolean.

Description

Moves to a marker which was dropped by 'DropMarker'. If the parameter 'Collect' = TRUE this invalidates all markers which were dropped after the specified marker. You can use (true,-1) to collect the last marker or (true,X) to delete all markers including the marke X. (true,1) will collect all markers!
If it is not possible to move to that marker the result value is FALSE

Overloaded Methods

Function TWPRTFDataCursor.GotoMarker(DroppMarkerID:Integer) : Boolean