Class PdfAnnotation1
Base class for annotation objects.
Inheritance
System.Object
PdfAnnotation1
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public abstract class PdfAnnotation1 : Object, IPdfWrapper
Constructors
PdfAnnotation1()
Creates new annotation object.
Declaration
protected PdfAnnotation1()
PdfAnnotation1(RectangleF)
Creates new annotation object with the specified bounds.
Declaration
protected PdfAnnotation1(RectangleF bounds)
Parameters
Type | Name | Description |
---|---|---|
RectangleF | bounds | Bounds of the annotation. |
Properties
AnnotationFlags
Gets or sets annotation flags.
Declaration
public PdfAnnotationFlags AnnotationFlags { get; set; }
Property Value
Type |
---|
PdfAnnotationFlags |
Border
Gets or sets annotation's border.
Declaration
public PdfAnnotationBorder Border { get; set; }
Property Value
Type |
---|
PdfAnnotationBorder |
Bounds
Gets or sets annotation's bounds. If this property is not set bounds are calculated automatically based on Location property and content of annotation.
Declaration
public RectangleF Bounds { get; set; }
Property Value
Type |
---|
RectangleF |
Color
Gets or sets the background of the annotation�s icon when closed. The title bar of the annotation�s pop-up window. The border of a link annotation.
Declaration
public PdfColor Color { get; set; }
Property Value
Type | Description |
---|---|
PdfColor | The color. |
Location
Gets or sets location of the annotation.
Declaration
public PointF Location { get; set; }
Property Value
Type |
---|
PointF |
Page
Gets a page which this annotation is connected to.
Declaration
public PdfPage Page { get; }
Property Value
Type |
---|
PdfPage |
Size
Gets or sets size of the annotation.
Declaration
public SizeF Size { get; set; }
Property Value
Type |
---|
SizeF |
Text
Gets or sets content of the annotation.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |
Methods
Initialize()
Initializes annotation object.
Declaration
protected virtual void Initialize()
Save()
Saves an annotation.
Declaration
protected virtual void Save()