PdfAnnotation1 Class
Base class for annotation objects.
Inheritance
System.Object
PdfAnnotation1
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Base.dll
Syntax
[Obsolete("Please use PdfAnnotation instead")]
public abstract class PdfAnnotation1 : 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 |
---|---|---|
System.Drawing.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 |
---|
System.Drawing.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 |
---|
System.Drawing.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 |
---|
System.Drawing.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()