Skip to main content
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

C++

HRESULT SetFont(
  BSTR         FontName,
  FontTypeEnum FontType
);

C#

void SetFont(
  string       FontName,
  FontTypeEnum FontType
);

Visual Basic .NET

Sub SetFont( _
  FontName As String, _
  FontType As FontTypeEnum _
)

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