Click or drag to resize

CPDFFreeTextAnnotation Class

A free text annotation displays text directly on the page.
Inheritance Hierarchy
SystemObject
  ComPDFKit.PDFAnnotationCPDFAnnotation
    ComPDFKit.PDFAnnotationCPDFFreeTextAnnotation

Namespace:  ComPDFKit.PDFAnnotation
Assembly:  ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
C#
public class CPDFFreeTextAnnotation : CPDFAnnotation

The CPDFFreeTextAnnotation type exposes the following members.

Properties
  NameDescription
Public propertyAlignment
Gets text alignment of Freetext.
Public propertyBgColor
Background color.
Public propertyBorderStyle
Gets border style.
Public propertyContent
Gets content of FreeText annotation.
Public propertyDash
Gets the line dash array.
Public propertyFreeTextDa
Gets Freetext font style, more:CTextAttribute
Public propertyHasBgColor
Whether the background color exists.
Public propertyLineColor
Border color.
Public propertyLineWidth
Border width.
Public propertyPage
Returns the page that the annotation is associated with.
(Inherited from CPDFAnnotation.)
Public propertyRect
Gets the rectangle of the annotation on the page.
(Inherited from CPDFAnnotation.)
Public propertyTransparency
Opacity.
Public propertyType
Gets annotation type.
(Inherited from CPDFAnnotation.)
Top
Methods
  NameDescription
Public methodClearBgColor
Clears background color.
Public methodCreateReplyAnnotation
Creates a reply annotation.
(Inherited from CPDFAnnotation.)
Public methodCreateReplyStateAnnotation
Creates a reply state annotation.
(Inherited from CPDFAnnotation.)
Public methodGetAuthor
Gets the author of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetBorderWidth
Gets border width of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetContent
Gets annotation content.
(Inherited from CPDFAnnotation.)
Public methodGetCreationDate
Gets the creation date of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetFlags
Returns the flag of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetIsHidden
This is a convenience property that checks for `CPDFAnnotationFlagHidden` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetIsLocked
This is a convenience property that checks for `CPDFAnnotationFlagLocked` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetIsReadOnly
This is a convenience property that checks for `CPDFAnnotationFlagReadOnly` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodGetModifyDate
Gets the modification date of annotation.
(Inherited from CPDFAnnotation.)
Public methodGetRect
Gets rectangle on the page.
(Inherited from CPDFAnnotation.)
Public methodGetReplies
Gets the replies of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetReplyTitle
Gets the reply title of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetRotation
Gets rotation angle of annotation appearance.
(Inherited from CPDFAnnotation.)
Public methodGetSourceRect
Gets the rectangle used to rotate the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetState
Gets the state of the annotation.
(Inherited from CPDFAnnotation.)
Public methodGetTextAttribute
Gets annotation text attribute, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodGetTransparency
Gets annotation opacity.
(Inherited from CPDFAnnotation.)
Public methodIsMarkedStateAnnot
Whether the annotation is a marked state annotation.
(Inherited from CPDFAnnotation.)
Public methodIsMeasured
Whether the annotation is measured.
(Inherited from CPDFAnnotation.)
Public methodIsReplyAnnot
Whether the annotation is a reply annotation.
(Inherited from CPDFAnnotation.)
Public methodIsReviewStateAnnot
Whether the annotation is a review state annotation.
(Inherited from CPDFAnnotation.)
Public methodIsValid
Whether the object is valid.
(Inherited from CPDFAnnotation.)
Public methodReleaseAnnot
Releases resources of the object.
(Inherited from CPDFAnnotation.)
Public methodRemoveAnnot
Removes annotation.
(Inherited from CPDFAnnotation.)
Public methodRenderAnnot(Int32, Int32, Byte, CPDFAppearanceType)
Renders contents of the annotation to image.
(Inherited from CPDFAnnotation.)
Public methodRenderAnnot(Int32, Int32, IntPtr, CPDFAppearanceType)
Renders contents of the annotation to image.
(Inherited from CPDFAnnotation.)
Public methodSetAuthor
Sets the author of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetBgColor
Sets background color.
Public methodSetBorderStyle
Sets border style.
Public methodSetBorderWidth
Sets border width of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetContent
Sets content of FreeText annotation.
(Overrides CPDFAnnotationSetContent(String).)
Public methodSetCreationDate
Sets the creation date of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetFlags
Sets the flag of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetFreetextAlignment
Sets text alignment of Freetext.
Public methodSetFreetextDa
Sets Freetext font style, more:CTextAttribute
Public methodSetIsHidden
This is a convenience property that checks for `CPDFAnnotationFlagHidden` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetIsLocked
This is a convenience property that checks for `CPDFAnnotationFlagLocked` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetIsReadOnly
This is a convenience property that checks for `CPDFAnnotationFlagReadOnly` in `flags`.
(Inherited from CPDFAnnotation.)
Public methodSetLineColor
Sets border color.
Public methodSetLineWidth
Sets border width.
Public methodSetMarkedAnnotState
Sets the marked state of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetModifyDate
Sets the modification date of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetRect
Sets annotation rectangle. The page coordinate system has its origin at the left-bottom corner of the page, with the X-axis on the bottom going to the right, and the Y-axis on the left side going up. The device coordinate system is device dependent. For screen device, its origin is at the left-top corner of the window.
(Overrides CPDFAnnotationSetRect(CRect).)
Public methodSetReplyAnnotation
Sets the reply annotation.
(Inherited from CPDFAnnotation.)
Public methodSetReplyTitle
Sets the reply title of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetReviewAnnotState
Sets the review state of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetSourceRect
Sets the rectangle used to rotate the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetState
Sets the state of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetTextAttribute
Sets text attribute of annotation, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodSetTransparency
Sets opacity.
(Overrides CPDFAnnotationSetTransparency(Byte).)
Public methodUpdateAp
Updates annotation appearance.
(Inherited from CPDFAnnotation.)
Public methodUpdateApWithBitmap
Upadates annotation appearance by Bitmap.
(Inherited from CPDFAnnotation.)
Public methodUpdateApWithImage (Inherited from CPDFAnnotation.)
Top
See Also