CreateText Method of the Engine Object

This method creates a Text object from the specified string.

Syntax

Visual Basic .NET

Function CreateText( _
  str As String, _
  charParams As CharParams _
) As Text
    

C++

HRESULT CreateText(
  BSTR         str,
  ICharParams* charParams,
  IText**      result
);
    

Parameters

str
[in] This variable contains the string, which should be used for a new Text object creation.
charParams
[in] This variable refers to the CharParams object, which contains the character parameters that should be associated with the newly created text. This parameter may be 0, in which case the default character parameters will be used.
result
[out, retval] A pointer to the IText* pointer variable that receives the interface pointer of the newly created Text object.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

Engine

Text

15.08.2023 13:19:30

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.