Skip to main content

ExportControlsComponent

Properties​

allowJpgExport?​

optional allowJpgExport: boolean = true

Defaults to true - whether or not to show a JPG export button.

Input​


allowPngExport?​

optional allowPngExport: boolean = true

Defaults to true - whether or not to show a PNG export button.

Input​


allowSvgExport?​

optional allowSvgExport: boolean = true

Defaults to true - whether or not to show an SVG export button.

Input​


imageOptions?​

optional imageOptions: ImageExportUIOptions

Options for image exports.

Input​


label?​

optional label: string = "Export:"

What to show in the label, if visible. Defaults to "Export:".

Input​


margins?​

optional margins: PointXY

Optional margins to apply to both SVG and image exports. Will not override any margins specified in svgOptions or imageOptions.

Input​


showLabel?​

optional showLabel: boolean = true

Whether or not to show a label in front of the buttons. Defaults to true.

Input​


svgOptions?​

optional svgOptions: SvgExportUIOptions

Options for SVG exports.

Input​