Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfRedactionApplyOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfRedactionApplyOptions, 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
  • PdfRedactionApplyOptionsFluent

Methods

public static PdfRedactionApplyOptions AllowImagePlacementOverlays(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true) #

Sets PdfRedactionApplyOptions.AllowImagePlacementOverlays: When true, redaction areas that intersect image placements are allowed to be painted as visual overlays even though image pixels and resources are not rewritten.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AllowImagePlacementOverlays = value };    pdfRedactionApplyOptions.AllowImagePlacementOverlays(value);
public static PdfRedactionApplyOptions AppearanceMergeDistance(PdfRedactionApplyOptions pdfRedactionApplyOptions, double value) #

Sets PdfRedactionApplyOptions.AppearanceMergeDistance: Maximum horizontal gap, in PDF user-space units, merged by PdfRedactionAppearanceMode.MergeNearby. Defaults to 4.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value double required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AppearanceMergeDistance = value };    pdfRedactionApplyOptions.AppearanceMergeDistance(value);
public static PdfRedactionApplyOptions AppearanceWidthQuantum(PdfRedactionApplyOptions pdfRedactionApplyOptions, double value) #

Sets PdfRedactionApplyOptions.AppearanceWidthQuantum: Width quantum, in PDF user-space units, used by PdfRedactionAppearanceMode.QuantizedWidth. Defaults to 24.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value double required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { AppearanceWidthQuantum = value };    pdfRedactionApplyOptions.AppearanceWidthQuantum(value);
public static PdfRedactionApplyOptions CleanupScope(PdfRedactionApplyOptions pdfRedactionApplyOptions, PdfRedactionCleanupScope value) #

Sets PdfRedactionApplyOptions.CleanupScope: Explicit document-level residue cleanup. Defaults to intersecting content only.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value OfficeIMO.Pdf.PdfRedactionCleanupScope required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { CleanupScope = value };    pdfRedactionApplyOptions.CleanupScope(value);
public static PdfRedactionApplyOptions FillColor(PdfRedactionApplyOptions pdfRedactionApplyOptions, OfficeColor value) #

Sets PdfRedactionApplyOptions.FillColor: Fill color used for the visible redaction mark. Defaults to black.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { FillColor = value };    pdfRedactionApplyOptions.FillColor(value);
public static PdfRedactionApplyOptions ImageDecoder(PdfRedactionApplyOptions pdfRedactionApplyOptions, IPdfRedactionImageDecoder? value) #

Sets PdfRedactionApplyOptions.ImageDecoder: Optional decoder used for image codecs, such as JPEG, that are intentionally not dependencies of the PDF core.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value OfficeIMO.Pdf.IPdfRedactionImageDecoder? required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { ImageDecoder = value };    pdfRedactionApplyOptions.ImageDecoder(value);
public static PdfRedactionApplyOptions MaximumDecodedImageBytes(PdfRedactionApplyOptions pdfRedactionApplyOptions, int value) #

Sets PdfRedactionApplyOptions.MaximumDecodedImageBytes: Maximum RGBA bytes accepted from an optional image decoder. Defaults to 256 MiB.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value int required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                               // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { MaximumDecodedImageBytes = value };    pdfRedactionApplyOptions.MaximumDecodedImageBytes(value);
public static PdfRedactionApplyOptions PaintUnmatchedAreas(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true) #

Sets PdfRedactionApplyOptions.PaintUnmatchedAreas: When true, redaction areas are painted even when no text or annotation match is found in the area.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { PaintUnmatchedAreas = value };    pdfRedactionApplyOptions.PaintUnmatchedAreas(value);
public static PdfRedactionApplyOptions RemoveIntersectingPaths(PdfRedactionApplyOptions pdfRedactionApplyOptions, bool value = true) #

Sets PdfRedactionApplyOptions.RemoveIntersectingPaths: Remove intersecting painted vector paths and rectangles from page content before applying the redaction mark.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { RemoveIntersectingPaths = value };    pdfRedactionApplyOptions.RemoveIntersectingPaths(value);
public static PdfRedactionApplyOptions UnsupportedImagePolicy(PdfRedactionApplyOptions pdfRedactionApplyOptions, PdfRedactionUnsupportedImagePolicy value) #

Sets PdfRedactionApplyOptions.UnsupportedImagePolicy: Explicit fallback for JPEG, transformed, masked, indexed, or otherwise unsupported partial-image rewrites.

Parameters

pdfRedactionApplyOptions OfficeIMO.Pdf.PdfRedactionApplyOptions required
The instance.
value OfficeIMO.Pdf.PdfRedactionUnsupportedImagePolicy required
The value.

Returns

PdfRedactionApplyOptions The same instance.

Examples

// C# initializer or property                                                             // C# fluent
new global::OfficeIMO.Pdf.PdfRedactionApplyOptions { UnsupportedImagePolicy = value };    pdfRedactionApplyOptions.UnsupportedImagePolicy(value);