@express-document-sdk

Interface: CreateRenditionResult

Experimental

data-slots=text
data-variant=warning
IMPORTANT: This is currently experimental only and should not be used in any add-ons you will be distributing until it has been declared stable. To use it, you will first need to set the experimentalApis flag to true in the requirements section of the manifest.json.

An interface for the result of VisualNode.createRendition.

Properties

Property
Type
Description
blob?
Blob
Experimental The PNG or JPEG data for the rendition.
drawBoundsGlobal?
Rect
Experimental The bounds of the rendition in the global coordinate space. This may be larger than the VisualNode.boundsLocal due to rotations, borders, filters, or other effects. Only provided if the VisualNode is not orphaned.