Defines the possible image export options.

interface ExportOptions {
    height?: number;
    margin?: number;
    selectedAreaOnly?: boolean;
    visualizationSettings?: VisualizationSettings;
    width?: number;
}

Properties

height?: number

The height of the image in pixels.

margin?: number

The margin of the image in pixels.

selectedAreaOnly?: boolean

Whether to export the whole canvas or only the selected area. Default value is false. If true, the selected area will be exported. If false, the whole canvas will be exported.

visualizationSettings?: VisualizationSettings

Visualization. Note, that currently the variableAttachmentHighlight option is supported only for export.

width?: number

The width of the image in pixels.

Generated using TypeDoc