Click or drag to resize

CPDFSquareAnnotation Class

Square annotation is a rectangle on the page. Despite the name "square", a square annotation can represent either a square or a rectangle, which means the width and height of the annotation rectangle need not be equal.
Inheritance Hierarchy

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

The CPDFSquareAnnotation type exposes the following members.

Properties
  NameDescription
Public propertyBgColor
Gets background color.
Public propertyBorderStyle
Gets border style.
Public propertyDash
Gets the line dash array.
Public propertyHasBgColor
Whether the background color exists.
Public propertyLineColor
Gets border color.
Public propertyLineWidth
Gets 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
Gets border 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 methodSetBorderStyle
Sets border style.
Public methodSetBorderWidth
Sets border width of the annotation.
(Inherited from CPDFAnnotation.)
Public methodSetContent
Sets annotation content.
(Inherited from CPDFAnnotation.)
Public methodSetCreationDate
Sets the creation date of annotation.
(Inherited from CPDFAnnotation.)
Public methodSetFlags
Sets the flag of the annotation.
(Inherited from CPDFAnnotation.)
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 rectangle on the page.
(Inherited from CPDFAnnotation.)
Public methodSetTextAttribute
Sets text attribute of annotation, more:CTextAttribute
(Inherited from CPDFAnnotation.)
Public methodSetTransparency
Sets border 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