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.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Annotations
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.5
public sealed class FreeTextAnnotation : MarkupAnnotation

The FreeTextAnnotation type exposes the following members.

Public methodFreeTextAnnotation(Document, DefaultAppearance)
Constructor to use with Generator.
Public methodFreeTextAnnotation(Page, Rectangle, DefaultAppearance)
Creates new FreeText annotation on the specified page.
Public propertyActions
Gets list of annotatation actions.
(Inherited from Annotation.)
Public propertyActiveState
Gets or sets current annotation appearance state.
(Inherited from Annotation.)
Public propertyAlignment Obsolete.
Annotation alignment. This property is obsolete. Use HorizontalAligment instead.
(Inherited from Annotation.)
Public propertyAnnotationType
Gets type of annotation.
(Overrides AnnotationAnnotationType.)
Public propertyAppearance
Gets appearance dictionary of the annotation.
(Inherited from Annotation.)
Public propertyBorder
Gets or sets annotation border characteristics. Border
(Inherited from Annotation.)
Public propertyCallout
Array of point specifying callout line.
Public propertyCharacteristics
Gets annotation characteristics.
(Inherited from Annotation.)
Public propertyColor
Gets or sets annotation color.
(Inherited from Annotation.)
Public propertyContents
Gets or sets annotation text.
(Inherited from Annotation.)
Public propertyCreationDate
Gets date and time when annotation was created.
(Inherited from MarkupAnnotation.)
Public propertyDefaultAppearance
Gets or sets the default appearance string to be used in formatting the text.
Public propertyDefaultAppearanceObject
Object which represents default appearance of FreeText annotation.
Public propertyDefaultStyle
Gets or sets a default style string.
Public propertyEndingStyle
Gets or sets line ending style for line ending point.
Public propertyFlags
Flags of the annotation.
(Inherited from Annotation.)
Public propertyFullName
Gets full qualified name of the annotation.
(Inherited from Annotation.)
Public propertyHeight
Gets or sets height of the annotation.
(Inherited from Annotation.)
Public propertyHorizontalAlignment Obsolete.
Gets or sets text alignment for annotation.
(Inherited from Annotation.)
Public propertyHyperlink
Gets or sets the fragment hyperlink(for pdf generator).
(Inherited from BaseParagraph.)
Public propertyInReplyTo
A reference to the annotation that this annotation is "in reply to". Both annotations must be on the same page of the document.
(Inherited from MarkupAnnotation.)
Public propertyIntent
Gets or sets the intent of the free text annotation.
Public propertyIsFirstParagraphInColumn
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInLineParagraph
Gets or sets a paragraph is inline. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsInNewPage
Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyIsKeptWithNext
Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
(Inherited from BaseParagraph.)
Public propertyJustification
Gets or set a code specifying the form of quadding (justification) to be used in displaying the annotation�s text.
Public propertyMargin
Gets or sets a outer margin for paragraph (for pdf generation)
(Inherited from BaseParagraph.)
Public propertyModified
Gets or sets date and time when annotation was recently modified.
(Inherited from Annotation.)
Public propertyName
Gets or sets annotation name on the page.
(Inherited from Annotation.)
Public propertyOpacity
Gets or sets the constant opacity value to be used in painting the annotation.
(Inherited from MarkupAnnotation.)
Public propertyPageIndex
Gets index of page which contains annotation.
(Inherited from Annotation.)
Public propertyPopup
Pop-up annotation for entering or editing the text associated with this annotation.
(Inherited from MarkupAnnotation.)
Public propertyRect
Gets or sets annotation rectangle.
(Inherited from Annotation.)
Public propertyReplyType
A string specifying the relationship (the "reply type") between this annotation and one specified by InReplyTo.
(Inherited from MarkupAnnotation.)
Public propertyRichText
Gets or sets a rich text string to be displayed in the pop-up window when the annotation is opened.
(Inherited from MarkupAnnotation.)
Public propertyRotate
Angle of annotation rotation.
Public propertyStartingStyle
Gets or sets line ending style for line ending point. OThis property is obsolete, please use EndingStyle.
Public propertyStates
Gets appearance dictionary of annotation.
(Inherited from Annotation.)
Public propertySubject
Gets text representing desciption of the object.
(Inherited from MarkupAnnotation.)
Public propertyTextHorizontalAlignment
Gets or sets text alignment for annotation.
(Inherited from Annotation.)
Public propertyTextRectangle
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.
Public propertyTextStyle
Gets or sets style of the text in appearance. when text style is changed, text appearance is updated.
Public propertyTitle
Gets or sets a text that shall be displayed in title bar of annotation.
(Inherited from MarkupAnnotation.)
Public propertyVerticalAlignment
Gets or sets a vertical alignment of paragraph
(Inherited from BaseParagraph.)
Public propertyWidth
Gets or sets width of the annotation.
(Inherited from Annotation.)
Public propertyZIndex
Gets or sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
(Inherited from BaseParagraph.)
Public methodAccept
Accepts visitor object to process the annotation.
(Overrides AnnotationAccept(AnnotationSelector).)
Public methodClone
Clones this instance. Virtual method. Always return null.
(Inherited from BaseParagraph.)
Public methodEquals (Inherited from Object.)
Public methodFlatten
Places annotation contents directly on the page, annotation object will be removed.
(Inherited from Annotation.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRectangle
Returns rectangle of annotation taking into consideration page rotation.
(Inherited from Annotation.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also