
## merge(outputStream, inputStreams, loadOptions) {#buffer_buffer[]_loadoptions[]}

Merges the given input PDF documents into a single output PDF document using specified input and output streams.


```js
merge(outputStream: Buffer, inputStreams: Buffer[], loadOptions: Aspose.Words.Loading.LoadOptions[])
```

| Parameter | Type | Description |
| --- | --- | --- |
| outputStream | Buffer | The output stream. |
| inputStreams | Buffer[] | The input streams. |
| loadOptions | [LoadOptions](../../../aspose.words.loading/loadoptions/)[] | Load options for the input files. |

### See Also

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

