SetFont Method of the CharParams Object
This method allows you to set a new font for the symbol. It simultaneously specifies the name of the font and its type, as these are interdependent parameters. This method affects the ICharParams::FontName and ICharParams::FontType properties.
Syntax
HRESULT SetFont( BSTR FontName, FontTypeEnum FontType );
Parameters
- FontName
- [in] This variable specifies the name of the new font.
- FontType
- [in] This variable specifies the type of the new font. It may be set to one of the constants from the FontTypeEnum enumeration.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
03.07.2024 8:50:10