Aspose::Pdf::Annotations::FreeTextAnnotation class

FreeTextAnnotation class

Represents a free text annotation that displays text directly on the page. Unlike an ordinary text annotation, a free text annotation has no open or closed state; instead of being displayed in a pop-up window, the text is always visible.

class FreeTextAnnotation : public Aspose::Pdf::Annotations::MarkupAnnotation

Methods

MethodDescription
Accept(System::SharedPtr<AnnotationSelector>) overrideAccepts visitor object to process the annotation.
FreeTextAnnotation(System::SharedPtr<Document>, System::SharedPtr<Aspose::Pdf::Annotations::DefaultAppearance>)Constructor to use with Generator.
FreeTextAnnotation(System::SharedPtr<Aspose::Pdf::Page>, System::SharedPtr<Rectangle>, System::SharedPtr<Aspose::Pdf::Annotations::DefaultAppearance>)Creates new FreeText annotation on the specified page.
get_AnnotationType() overrideGets type of annotation.
get_Callout()Array of point specifying callout line.
get_DefaultAppearance()Gets the default appearance string to be used in formatting the text.
get_DefaultAppearanceObject()Object which represents default appearance of FreeText annotation.
get_DefaultStyle()Gets a default style string.
get_EndingStyle()Gets line ending style for line ending point.
get_Intent()Gets the intent of the free text annotation.
get_Justification()Gets or set a code specifying the form of quadding (justification) to be used in displaying the annotation’s text.
get_Rotate()Angle of annotation rotation.
get_StartingStyle()Gets line ending style for line ending point. OThis property is obsolete, please use EndingStyle.
get_TextRectangle()Rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation and a rectangle contained within that rectangle. The inner rectangle is where the annotation’s text should be displayed.
get_TextStyle()Gets style of the text in appearance. when text style is changed, text appearance is updated.
set_Callout(System::ArrayPtr<System::SharedPtr<Point>>)Array of point specifying callout line.
set_DefaultAppearance(System::String)Sets the default appearance string to be used in formatting the text.
set_DefaultStyle(System::String)Sets a default style string.
set_EndingStyle(LineEnding)Sets line ending style for line ending point.
set_Intent(FreeTextIntent)Sets the intent of the free text annotation.
set_Justification(Aspose::Pdf::Annotations::Justification)Gets or set a code specifying the form of quadding (justification) to be used in displaying the annotation’s text.
set_Rotate(Rotation)Angle of annotation rotation.
set_StartingStyle(LineEnding)Sets line ending style for line ending point. OThis property is obsolete, please use EndingStyle.
set_TextRectangle(System::SharedPtr<Rectangle>)Rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation and a rectangle contained within that rectangle. The inner rectangle is where the annotation’s text should be displayed.
set_TextStyle(System::SharedPtr<Aspose::Pdf::Annotations::TextStyle>)Sets style of the text in appearance. when text style is changed, text appearance is updated.

See Also