# 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.

Canonical: https://chart.syidax.com/ko/docs/methods/importDrawingsFile/

<a id="definition"></a>

## 정의

```typescript
importDrawingsFile(file: Blob | string): Promise<DrawingsChangeEventDetail | null>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `file` | `Blob \| string` | 필수 |

반환 타입: `Promise<DrawingsChangeEventDetail | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [DrawingsChangeEventDetail](https://chart.syidax.com/ko/docs/types/DrawingsChangeEventDetail.md) — 타입 정의

<a id="related"></a>

## 관련 차트


