API REFERENCE
importDrawingsFile
replaces the drawing document from a picked file (a File / Blob of the envelope, or its text); a file that is not JSON is declined (null) and the document stays.
Definition
importDrawingsFile(file: Blob | string): Promise<DrawingsChangeEventDetail | null>| Arguments | Type | Required |
|---|---|---|
file | Blob | string | Required |
Return type: Promise<DrawingsChangeEventDetail | null>. Call the method after element registration and await its Promise result.
- DrawingsChangeEventDetail
Type definition