Back to Devexpress

DashboardImageExportOptions Interface

dashboard-js-devexpress-dot-dashboard-ec1181db.md

latest3.8 KB
Original Source

DashboardImageExportOptions Interface

Contains options related to exporting a dashboard/dashboard item as an image.

Declaration

ts
export interface DashboardImageExportOptions

Properties

ExportFilters Property

Specifies whether to add the state of master filter items to the exported document.

Declaration

ts
ExportFilters?: boolean

Property Value

TypeDescription
boolean

true , to add the state of master filter items to the exported document; otherwise, false.

|

ExportParameters Property

Specifies whether to add current parameter values to the exported document.

Declaration

ts
ExportParameters?: boolean

Property Value

TypeDescription
boolean

true , to add current parameter values to the exported document; otherwise, false.

|

FontInfo Property

Provides access to the font settings of the exported image.

Declaration

ts
FontInfo?: ExportFontInfo

Property Value

TypeDescription
ExportFontInfo

A ExportFontInfo object that provides access to the font settings of the exported image.

|

Format Property

Specifies an image format in which the dashboard/dashboard item is exported.

Declaration

ts
Format?: DashboardExportImageFormat

Property Value

TypeDescription
DashboardExportImageFormat

A DashboardExportImageFormat object that specifies an image format in which the dashboard/dashboard item is exported.

|

IncludeHiddenParameters Property

Specifies whether to add the current parameter values to the exported document.

Declaration

ts
IncludeHiddenParameters?: boolean

Property Value

TypeDescription
boolean

true to add the current parameter values to the exported document; otherwise, false.

|

Remarks

Warning

If the IncludeHiddenParameters client property is enabled, a user can still obtain access to all hidden parameters and associated values.

Encode parameter values wherever/whenever possible. Never store sensitive/unencrypted information within dashboard parameters.

Resolution Property

Specifies the resolution (in dpi) used to export a dashboard/dashboard item to an image.

Declaration

ts
Resolution?: number

Property Value

TypeDescription
number

An integer value that specifies the resolution (in dpi) used when you export a dashboard/dashboard item as an image. The default value is 96.

|

ScaleFactor Property

Specifies the scale factor (in fractions of 1 ), by which a dashboard/dashboard item is scaled in the exported document.

Declaration

ts
ScaleFactor?: number

Property Value

TypeDescription
number

A number that specifies the scale factor by which a dashboard/dashboard item is scaled in the exported document.

|

ShowTitle Property

Specifies whether a dashboard title or dashboard item caption is used as the exported document title.

Declaration

ts
ShowTitle?: boolean

Property Value

TypeDescription
boolean

true to use the dashboard title or dashboard item caption as the title of the exported document; otherwise, false.

|

Title Property

Declaration

ts
Title?: string

Property Value

Type
string