Insert Method of the Paragraph Object
This method inserts a string into the text of the paragraph.
Syntax
HRESULT Insert(
int Position,
BSTR String,
ICharParams* Params
);
Parameters
- Position
- [in] Position where the string is inserted. Must be not less than 0 and not greater than the length of paragraph.
- String
- [in] Specifies the string to be inserted. This string may contain the object replacement characters (Unicode 0xFFFC). The object replacement character denotes an embedded picture.
- Params
- [in] This variable refers to the CharParams object that contains attributes for all characters of the newly inserted string. This parameter may be 0, in which case the default character parameters are used.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
A paragraph break symbol and a tabulation cannot be inserted into the paragraph using this method. Use the InsertParagraphBreak method to insert a paragraph break symbol, and the InsertTab method to insert a tabulation.
See also
03.07.2024 8:50:25