PdfOptimizationOptions(PdfImageCompressionOptions, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) Constructor
Initializes a new instance of the PdfOptimizationOptions class with specified settings.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v25.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
Declaration
public PdfOptimizationOptions(
PdfImageCompressionOptions removeImageCompressionOptions,
bool removeJavaScriptActions,
bool removeMetadata,
bool removeAttachments,
bool removeThumbnails,
bool removeLogicalStructure,
bool removeBookmarkOutlines
)
Parameters
| Name | Type | Description |
|---|---|---|
| removeImageCompressionOptions | PdfImageCompressionOptions | Defines settings used to compress images in the output PDF during optimization. |
| removeJavaScriptActions | Boolean | Defines whether JavaScript actions are removed from the output PDF file. |
| removeMetadata | Boolean | Defines whether document metadata is removed from the output PDF file. |
| removeAttachments | Boolean | Defines whether attachments are removed from the output PDF file. |
| removeThumbnails | Boolean | Defines whether page thumbnails are removed from the output PDF file. |
| removeLogicalStructure | Boolean | Defines whether the logical structure (tags) is removed from the output PDF file. |
| removeBookmarkOutlines | Boolean | Defines whether bookmark outlines are removed from the output PDF file. |