Function · Desktop Services
renderDrawingToImage
Renders a validated drawing document to a bounded PNG data URI, optionally applying effects.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Signature
TypeScript
renderDrawingToImage(document: DrawingDocument, options: RenderDrawingToImageOptions = {}): Promise<DrawingImage>Parameters
| Name | Type | Description |
|---|---|---|
document | DrawingDocument | |
options | RenderDrawingToImageOptionsDefault: {} |
Returns
Promise<DrawingImage> —
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1414 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.