| GetPosition method |
Applies to
TWPRTFDataBlock
Declaration
function GetPosition(par: TParagraph; posinpar: Integer): Integer;
Description
This function counts the characters from the begining of the text until the provided paragraph and then adds the povided position. If the paragraph was not found the Result value = -1. Note: all paragraphs care counted as CharCount + 1 for the Carriage Return. Please note that tables and table rows also add 1 to the sum - although they are not visible
|
Copyright (C) by WP |