All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pdftron::PDF::Appearance Class Reference

#include <Redactor.h>

Public Member Functions

 Appearance ()
 

Public Attributes

bool RedactionOverlay
 
ColorPt PositiveOverlayColor
 
ColorPt NegativeOverlayColor
 
bool Border
 
bool UseOverlayText
 
Font TextFont
 
double MinFontSize
 
double MaxFontSize
 
ColorPt TextColor
 
int HorizTextAlignment
 
int VertTextAlignment
 
bool ShowRedactedContentRegions
 
ColorPt RedactedContentColor
 

Detailed Description

Class used to customize the appearance of the optional redaction overlay.

Definition at line 107 of file Redactor.h.

Constructor & Destructor Documentation

pdftron::PDF::Appearance::Appearance ( )
inline

Definition at line 110 of file Redactor.h.

Member Data Documentation

bool pdftron::PDF::Appearance::Border

Border specifies if the overlay will be surrounded by a border.

Definition at line 148 of file Redactor.h.

int pdftron::PDF::Appearance::HorizTextAlignment

Specifies the horizontal 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.

Definition at line 178 of file Redactor.h.

double pdftron::PDF::Appearance::MaxFontSize

Definition at line 165 of file Redactor.h.

double pdftron::PDF::Appearance::MinFontSize

Specifies the minimum and maximum font size used to represent the text in the overlay.

Definition at line 165 of file Redactor.h.

ColorPt pdftron::PDF::Appearance::NegativeOverlayColor

NegativeOverlayColor defines the overlay background color in RGB color space for negative redactions.

Definition at line 143 of file Redactor.h.

ColorPt pdftron::PDF::Appearance::PositiveOverlayColor

PositiveOverlayColor defines the overlay background color in RGB color space for positive redactions.

Definition at line 138 of file Redactor.h.

ColorPt pdftron::PDF::Appearance::RedactedContentColor

Specifies the color used to paint the regions where content was removed. Only useful when ShowRedactedContentRegions == true. Default value is Gray color.

Definition at line 202 of file Redactor.h.

bool pdftron::PDF::Appearance::RedactionOverlay

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.

Definition at line 133 of file Redactor.h.

bool pdftron::PDF::Appearance::ShowRedactedContentRegions

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. Default value is False.

Note
The overlay region used RedactedContentColor as a fill color.

Definition at line 195 of file Redactor.h.

ColorPt pdftron::PDF::Appearance::TextColor

Specifies the color used to paint the text in the overlay (in RGB).

Definition at line 170 of file Redactor.h.

Font pdftron::PDF::Appearance::TextFont

Specifies the font used to represent the text in the overlay.

Definition at line 160 of file Redactor.h.

bool pdftron::PDF::Appearance::UseOverlayText

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.

Definition at line 155 of file Redactor.h.

int pdftron::PDF::Appearance::VertTextAlignment

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.

Definition at line 186 of file Redactor.h.


The documentation for this class was generated from the following file: