| InsertText method |
Applies to
TWPRTFDataBlock
Declaration
function InsertText(cpposition: Integer; const Text: WideString; StyleString: string = ''): TParagraph;
Description
Inserts a text at a given position. If the text contains #13 codes new paragraphs will be created. #12 creates a new page. To change the writing mode update the property RTFData.DefaultAttr! The function returns the paragraph which was modified last.
The optional style-string (WPCSS format) will be applied to the first updated paragraph
|
Copyright (C) by WP |