Table of Contents

Class PdfRedactAnnotation.Keys

Namespace
PdfSharp.Pdf.Annotations
Assembly
PdfSharp.dll

Predefined keys of this dictionary.

public class PdfRedactAnnotation.Keys : PdfAnnotation.Keys
Inheritance
object
PdfRedactAnnotation.Keys
Inherited Members

Fields

DA

(Required if OverlayText is present, ignored otherwise) The appearance string that shall be used in formatting the overlay text when it is drawn after the affected content has been removed (see 12.7.4.3, "Variable text"). This entry is ignored if the RO entry is present.

IC

(Optional) An array of three numbers in the range 0.0 to 1.0 specifying the components, in the DeviceRGB colour space, of the interior colour with which to fill the redacted region after the affected content has been removed. If this entry is absent, the interior of the redaction region is left transparent. This entry is ignored if the RO entry is present.

OverlayText

(Optional) A text string specifying the overlay text that should be drawn over the redacted region after the affected content has been removed. This entry is ignored if the RO entry is present.

Q

(Optional) A code specifying the form of quadding (justification) that shall be used in laying out the overlay text: 0 Left-justified 1 Centred 2 Right-justified This entry is ignored if the RO entry is present. Default value: 0 (left-justified).

QuadPoints

(Optional) An array of 8 x n numbers specifying the coordinates of n quadrilaterals in default user space, as described in "Table 182 — Additional entries specific to text markup annotations" for text markup annotations. If present, these quadrilaterals denote the content region that is intended to be removed. If this entry is not present, the Rect entry denotes the content region that is intended to be removed.

RO

(Optional) A form XObject specifying the overlay appearance for this redaction annotation. After this redaction is applied and the affected content has been removed, the overlay appearance should be drawn such that its origin lines up with the lower-left corner of the annotation rectangle. This form XObject is not necessarily related to other annotation appearances, and may or may not be present in the AP dictionary. This entry takes precedence over the IC, OverlayText, DA, and Q entries.

Repeat

(Optional) If true, then the text specified by OverlayText should be repeated to fill the redacted region after the affected content has been removed. This entry is ignored if the RO entry is present. Default value: false.