PdfAnnotationRemovalOptionsFluent
OfficeIMO.Pdf
The fluent methods of PdfAnnotationRemovalOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- PdfAnnotationRemovalOptionsFluent
Methods
public static PdfAnnotationRemovalOptions AllowResidualDataInAppendOnly(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, bool value = true) #Sets PdfAnnotationRemovalOptions.AllowResidualDataInAppendOnly: Allows append-only removal even though prior revisions retain the removed annotation bytes. Disabled by default because append-only output is not a sanitization boundary.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { AllowResidualDataInAppendOnly = value }; pdfAnnotationRemovalOptions.AllowResidualDataInAppendOnly(value);public static PdfAnnotationRemovalOptions ExecutionPreference(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, PdfMutationExecutionPreference value) #Sets PdfAnnotationRemovalOptions.ExecutionPreference: Preferred mutation mode. Automatic uses a full rewrite when safe and append-only when required.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value OfficeIMO.Pdf.PdfMutationExecutionPreference
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { ExecutionPreference = value }; pdfAnnotationRemovalOptions.ExecutionPreference(value);public static PdfAnnotationRemovalOptions ObjectNumber(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, int? value) #Sets PdfAnnotationRemovalOptions.ObjectNumber: Specific annotation object number to remove. When omitted, other filters decide the match.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { ObjectNumber = value }; pdfAnnotationRemovalOptions.ObjectNumber(value);public static PdfAnnotationRemovalOptions PageNumber(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, int? value) #Sets PdfAnnotationRemovalOptions.PageNumber: One-based page number whose annotations should be considered. When omitted, all pages are considered.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { PageNumber = value }; pdfAnnotationRemovalOptions.PageNumber(value);public static PdfAnnotationRemovalOptions RemoveMatchingPopups(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, bool value = true) #Sets PdfAnnotationRemovalOptions.RemoveMatchingPopups: Remove popup annotations linked from matching annotations through /Popup.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { RemoveMatchingPopups = value }; pdfAnnotationRemovalOptions.RemoveMatchingPopups(value);public static PdfAnnotationRemovalOptions Subtype(PdfAnnotationRemovalOptions pdfAnnotationRemovalOptions, string? value) #Sets PdfAnnotationRemovalOptions.Subtype: Annotation subtype, for example Text, Link, or Widget. When omitted, all subtypes are considered.
Parameters
- pdfAnnotationRemovalOptions OfficeIMO.Pdf.PdfAnnotationRemovalOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { Subtype = value }; pdfAnnotationRemovalOptions.Subtype(value);