Function TWPRTFDataCursor.DropMarker : Integer
Unit: WPRTEDefs
Class: WPRTEDefs.TWPRTFDataCursor
Returns
The type of the result value is Integer.
Description
Drops a marker which can be collected later with CollectMarker. Text insertions and deletions - as long as no paragraphs are inserted or deleted - will will automatically modify the markers of the affacted paragraphs to make sure their logical position is not changed. This makes markers much more powerful than cursor character offsets, such as 'CPPosition'.We suggest to delete all markeres with CollectAllMarker when they are not required anymore.
Note: a) that markers are not saved with the text.
b) If the paragraph has been deleted which was used for a marker, the marker will be moved to the start of the following paragraph.