Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfAnnotationRemovalOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

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 required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfAnnotationRemovalOptions The same instance.

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 required
The instance.
value OfficeIMO.Pdf.PdfMutationExecutionPreference required
The value.

Returns

PdfAnnotationRemovalOptions The same instance.

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 required
The instance.
value int? required
The value.

Returns

PdfAnnotationRemovalOptions The same instance.

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 required
The instance.
value int? required
The value.

Returns

PdfAnnotationRemovalOptions The same instance.

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 required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfAnnotationRemovalOptions The same instance.

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 required
The instance.
value string? required
The value.

Returns

PdfAnnotationRemovalOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationRemovalOptions { Subtype = value };    pdfAnnotationRemovalOptions.Subtype(value);