[]
Optimizes the document and saves it to the specified stream.
public void Optimize(Stream stream, OptimizeDocumentOptions options)
Public Sub Optimize(stream As Stream, options As OptimizeDocumentOptions)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The Stream to which the optimized document will be saved. |
| OptimizeDocumentOptions | options | The optimization settings to apply during the save operation. |
Optimizes the document and saves it to the specified file.
public void Optimize(string fileName, OptimizeDocumentOptions options)
Public Sub Optimize(fileName As String, options As OptimizeDocumentOptions)
| Type | Name | Description |
|---|---|---|
| string | fileName | The path and file name of the PDF file to create. |
| OptimizeDocumentOptions | options | The optimization settings to apply during the save operation. |