Appends text in a certain format from a file and inserts it at the end of the current document.
Introduced: 22.0.
TXTextControl.Append FileName[, Offset[, Format[, AppendSettings]]]
Parameter | Description | ||||||||||
FileName |
Specifies the file to load from. |
||||||||||
Offset |
Optional. Specifies the file position from where the data is read. When not specified or set to zero the data is read from the beginning. |
||||||||||
Format |
Optional. Specifies a format identifier. When not specified Text Control assumes Text Control's internal format (3). See the Format parameter of the Load method for possible format identifiers. |
||||||||||
AppendSettings |
Optional. When omitted, the text is inserted at the last position of the last paragraph. Otherwise, it must be one of the following AppendSettingsConstants constants:
|
The method returns the position in the file after the data has been loaded.
FileName: | String |
Offset: | Long |
Format: | Integer |
AppendSettings: | Integer |
Return value: | Long |
<< TXTextControl.AllowUndo Property | >> TXTextControl.AppendFromMemory Method