SnapshotCreationOptions

Interface SnapshotCreationOptions

Options used for the creation of a snapshot. These options allow customization of the snapshot creation process.

Use this type to configure the snapshot creation process. For example, you can specify whether a thumbnail should be created and define its dimensions if needed.

interface SnapshotCreationOptions {
    storeBackground?: boolean;
    thumbnail?: boolean;
    thumbnailHeight?: number;
    thumbnailWidth?: number;
}

Properties

storeBackground?: boolean

Specifies whether the viewer's background should be stored in the snapshot.

false
thumbnail?: boolean

Specifies whether a thumbnail should be created for the snapshot.

true
thumbnailHeight?: number

Specifies the height of the thumbnail in pixels. If neither thumbnailHeight nor thumbnailWidth is set, the current viewer size will be used.

undefined
thumbnailWidth?: number

Specifies the width of the thumbnail in pixels. If neither thumbnailHeight nor thumbnailWidth is set, the current viewer size will be used.

undefined