[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.RedactOptions

RedactOptions Class

Represents additional options to use when a document is being redacted.

Inheritance
RedactOptions
Namespace: GrapeCity.Documents.Pdf
Assembly: DS.Documents.Pdf.dll
Syntax
public class RedactOptions
Public Class RedactOptions

Constructors

Name Description
RedactOptions()

Properties

Name Description
CopyImagesOnRedact

Gets or sets a value indicating whether images within the redacted area that also appear in other locations will be copied before applying the redact. If this property is true, only the appearance of the redacted area will be affected. If this property is false, if an image within the redacted area also appears in other locations, all these locations will be affected. The default is false.

IgnoreUnreadableObjects

Gets or sets a value indicating whether to completely remove objects that need to be partially redacted but which are unreadable or unknown to GcPdf.

If true (the default), such objects will be silently removed. Otherwise an exception will be thrown.

Precision

Gets or sets the maximum distance (in points) between a PDF object's boundary that is outside a redact area, and the redact area's edge, at which the object is still considered to be inside the redact.

The default value is 2 points.

RenderOptions

Gets or sets a RedactOptions.RenderOptionsDef object that specifies additional options used when a redact action requires that some PDF content is rendered as an image.