Aspose::Pdf::Annotations::FreeTextAnnotation class
Contents
[
Hide
]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
| Method | Description |
|---|---|
| Accept(const System::SharedPtr<AnnotationSelector>&) override | Accepts visitor object to process the annotation. |
| FreeTextAnnotation(const System::SharedPtr<Document>&, const System::SharedPtr<Aspose::Pdf::Annotations::DefaultAppearance>&) | Constructor to use with Generator. |
| FreeTextAnnotation(const System::SharedPtr<Aspose::Pdf::Page>&, const System::SharedPtr<Rectangle>&, const System::SharedPtr<Aspose::Pdf::Annotations::DefaultAppearance>&) | Creates new FreeText annotation on the specified page. |
| get_AnnotationType() override | Gets 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(const System::ArrayPtr<System::SharedPtr<Point>>&) | Array of point specifying callout line. |
| set_DefaultAppearance(const System::String&) | Sets the default appearance string to be used in formatting the text. |
| set_DefaultStyle(const 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(const 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(const System::SharedPtr<Aspose::Pdf::Annotations::TextStyle>&) | Sets style of the text in appearance. when text style is changed, text appearance is updated. |
| SetTextStyle(RichTextFontStyles, const System::String&, double, System::Drawing::Color) | Sets the formatting determined by the parameter textStyle for all annotation text. |
| SetTextStyle(int32_t, int32_t, RichTextFontStyles) | Sets the formatting determined by the parameter textStyle for a text fragment from fromInd index to toInd index. |
See Also
- Class MarkupAnnotation
- Namespace Aspose::Pdf::Annotations
- Library Aspose.PDF for C++