Click or drag to resize

RedactorAppearance Class

Class used to customize the appearance of the optional redaction overlay.
Inheritance Hierarchy
SystemObject
  pdftron.PDFRedactorAppearance

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class RedactorAppearance

The RedactorAppearance type exposes the following members.

Constructors
  NameDescription
Public methodRedactorAppearance
Initializes a new instance of the RedactorAppearance class
Top
Properties
  NameDescription
Public propertyBorder
Border specifies if the overlay will be surrounded by a border.
Public propertyHorizTextAlignment
Specifies the text alignment in the overlay: align<0 -> text will be left aligned. align==0 -> text will be center aligned. align>0 -> text will be right aligned.
Public propertyMaxFontSize
Specifies the maximum font size used to represent the text in the overlay.
Public propertyMinFontSize
Specifies the font used to represent the text in the overlay.
Public propertyNegativeOverlayColor
NegativeOverlayColor defines the overlay background color in RGB color space for negative redactions.
Public propertyOverlay
If RedactionOverlay is set to true, Redactor will draw an overlay covering all redacted regions. The rest of properties in the Appearance class defines visual properties of the overlay. if false the overlay region will not be drawn.
Public propertyOverlayText
Specifies if the text (e.g. "Redacted" etc.) should be placed on top of the overlay. The remaining properties relate to the positioning, and styling of the overlay text.
Public propertyPositiveOverlayColor
PositiveOverlayColor defines the overlay background color in RGB color space for positive redactions.
Public propertyRedactedContentColor
Specifies the color used to paint the regions where content was removed.
Public propertyShowRedactedContentRegions
Specifies whether an overlay should be drawn in place of the redacted content. This option can be used to indicate the areas where the content was removed from without revealing the content itself.
Public propertyTextColor
Specifies the color used to paint the text in the overlay (in RGB).
Public propertyVertTextAlignment
Specifies the vertical text alignment in the overlay: align<0 -> text will be top aligned. align==0 -> text will be center aligned. align>0 -> text will be bottom aligned.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also