Aspose::Pdf::Annotations::RedactionAnnotation class

RedactionAnnotation class

Represents Redact annotation.

class RedactionAnnotation : public Aspose::Pdf::Annotations::MarkupAnnotation

Methods

MethodDescription
Accept(System::SharedPtr<AnnotationSelector>) overrideAccepts visitor object to process the annotation.
Flatten() overrideFlattens annotation i.e. removes annotation and adds its.
get_AnnotationType() overrideGets type of annotation.
get_BorderColor()Gets color of border which is drawn when redaction is not active.
get_DefaultAppearance()Gets the default appearance string to be used in formatting the text.
get_FillColor()Gets color to fill annotation.
get_FontSize() constGets font size for OverlayText.
get_OverlayText()Gets text to print on redact annotation.
get_QuadPoint()An array of 8xN numbers specifying the coordinates of content region that is intended to be removed.
get_Repeat()If true overlay text will be repated on the annotation.
get_TextAlignment()Gets. Alignment of Overlay Text.
Redact()Flattens annotation and redacts page contents (i.e. removes text and image under redacted annotation)
RedactionAnnotation(System::SharedPtr<Document>)Constructor for RedactionAnnotation. For using in Generator.
RedactionAnnotation(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>)Constructor for RedactAnnotation.
set_BorderColor(System::SharedPtr<Aspose::Pdf::Color>)Sets color of border which is drawn when redaction is not active.
set_DefaultAppearance(System::String)Sets the default appearance string to be used in formatting the text.
set_FillColor(System::SharedPtr<Aspose::Pdf::Color>)Sets color to fill annotation.
set_FontSize(float)Sets font size for OverlayText.
set_OverlayText(System::String)Sets text to print on redact annotation.
set_QuadPoint(System::ArrayPtr<System::SharedPtr<Point>>)An array of 8xN numbers specifying the coordinates of content region that is intended to be removed.
set_Repeat(bool)If true overlay text will be repated on the annotation.
set_TextAlignment(Aspose::Pdf::HorizontalAlignment)Sets. Alignment of Overlay Text.

See Also