Skip to main content

sdk.getexportoptions

Home > @kittl/sdk > GetExportOptions

GetExportOptions interface

Options for exporting.

Signature:

export interface GetExportOptions 

Properties

Property

Modifiers

Type

Description

dimensions?

{ multiplier: number; } \| { pixelCount: number; }

(Optional) The dimensions to export at. Will respect the aspect ratio of the target bounds. If not provided, it will export based on the dimensions of the target bounds.

format

'png' | 'jpg' | 'pdf' | 'svg' | 'mp4'

The format to export in.

target

{ boardId: string; } \| { nodeIds: string\[\]; }

The target board or nodes (objects or groups) to export.