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.0.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 propertyContent
Gets content of FreeText annotation.
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 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 methodGetRotation
Gets rotation angle of annotaton appearance.
(Inherited from CPDFAnnotation.)
Public methodGetTextAttribute
Gets annotation text attribute, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodGetTransparency
Gets annotation opacity.
(Inherited from CPDFAnnotation.)
Public methodIsMersured (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 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 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 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