
## load(inputStream, loadOptions) {#buffer_loadoptions}

Load the document using the specified load options.


```js
load(inputStream: Buffer, loadOptions: Aspose.Words.Loading.LoadOptions)
```

| Parameter | Type | Description |
| --- | --- | --- |
| inputStream | Buffer | The input stream. |
| loadOptions | [LoadOptions](../../../aspose.words.loading/loadoptions/) | The document load options. Can be ``null``, in this case the document is loaded with default load options. |

### See Also

* module [Aspose.Words](../../)
* class [IDocumentProcessorPlugin](../)

