Back to Devexpress

ExportFontInfo Interface

dashboard-js-devexpress-dot-dashboard-ef3ca0c9.md

latest3.2 KB
Original Source

ExportFontInfo Interface

Contains the font settings of the exported document.

Declaration

ts
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

ts
GdiCharSet?: number

Property Value

TypeDescription
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

ts
Name?: string

Property Value

TypeDescription
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

ts
UseCustomFontInfo?: boolean

Property Value

TypeDescription
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).