Skip to main content

ExportFontInfo Interface

Contains the font settings of the exported document.

Declaration

export interface ExportFontInfo

Remarks

Set the ExportFontInfo.UseCustomFontInfo property to true to specify custom font settings. Then, you can specify the font’s name (the ExportFontInfo.Name property) that is used in the printed document or the GDI character set (the ExportFontInfo.GdiCharSet property).

Note

The specified font should be installed on the web server if you use the Web Dashboard.

Properties

GdiCharSet Property

Specifies a value that specifies the GDI character set for the current font.

Declaration

GdiCharSet?: number

Property Value

Type Description
number

A number that specifies the GDI character set for the current font.

Remarks

Set the ExportFontInfo.UseCustomFontInfo property to true to specify custom font settings. Then, you can specify the font’s name (the ExportFontInfo.Name property) that is used in the printed document or the GDI character set GdiCharSet property.

Name Property

Specifies the name of the font used in the exported document.

Declaration

Name?: string

Property Value

Type Description
string

A string that specifies the font’s name.

Remarks

Set the ExportFontInfo.UseCustomFontInfo property to true to specify custom font settings. Then, you can specify the font’s name (the Name property) that is used in the printed document or the GDI character set (the ExportFontInfo.GdiCharSet property).

UseCustomFontInfo Property

Specifies whether custom font settings are used in the exported document.

Declaration

UseCustomFontInfo?: boolean

Property Value

Type Description
boolean

true, if custom font settings are used in the exported document; otherwise, false.

Remarks

Set the UseCustomFontInfo property to true to specify custom font settings. Then, you can specify the font’s name (the ExportFontInfo.Name property) that is used in the printed document or the GDI character set (the ExportFontInfo.GdiCharSet property).