API REFERENCE

importDrawings

replace the drawing document from an envelope / list / JSON string.

Definition

typescript
importDrawings(input: ChartDrawingsInput): Promise<DrawingsChangeEventDetail | null>
ArgumentsTypeRequired
inputChartDrawingsInputRequired

Return type: Promise<DrawingsChangeEventDetail | null>. Call the method after element registration and await its Promise result.