Chinese Simplified (简体中文)

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

CharParams

FontTypeEnum

7/3/2024 8:50:25 AM

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.