Interface: ExportRasterOptions
Defined in: diagram/canvasApi.ts:552
Options for exporting diagram as raster image (e.g. JPEG, PNG, etc).
See
Extends
ExportSvgOptions.ToDataURLOptions
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
| Whether to prepend XML encoding header to the exported SVG string. Prepended header: Default | ||
| Background color for the exported image. If not specified, the background is transparent by default. |
| |
Padding size (in pixels) around the content for the exported diagram. Default | |||
| Target height of the exported image. If only If neither |
| |
Maximum exported image size when neither Default |
| ||
| MIME type for the exported raster image. Example: Default |
| |
| Exported image quality value from 0.0 to 1.0 (applicable only for lossy image types). Default |
| |
readonly | CSS selectors to exclude specific DOM elements from the exported diagram. By default, any element with Default | ||
| Target width of the exported image. If only If neither |
|