PdfOptimizationAction Class
A change of a PdfOptimizationPlan. Set PdfOptimizationAction.IsEnabled to false to leave it out when the plan is applied.
public sealed class PdfOptimizationActionProperties
| Name | Description |
|---|---|
| Description | Gets a description of the change, such as "Remove the unused font /F2 of the page 1". |
| IsEnabled | Gets or sets a value indicating whether the change is made when the plan is applied. The default is true. |
| Kind | Gets the kind of change. |
| ObjectNumber | Gets the number of the indirect object the change concerns, or null when it is not an indirect object. |
| PageIndex | Gets the index of the page the change concerns, or null when it concerns the document. |
| ResourceName | Gets the name of the resource the change concerns, for PdfOptimizationActionKind.PruneUnusedResource. |
Description
PdfOptimizationAction.csIsEnabled
PdfOptimizationAction.csObjectNumber
PdfOptimizationAction.csPageIndex
PdfOptimizationAction.csResourceName
PdfOptimizationAction.csGets the name of the resource the change concerns, for PdfOptimizationActionKind.PruneUnusedResource.
public string? ResourceName { get; }Property value
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |