Table of Contents

Class PdfAnnotation1

Namespace
Syncfusion.Pdf.Interactive
Assembly
Syncfusion.Pdf.Portable.dll

Base class for annotation objects.

[Obsolete("Please use PdfAnnotation instead")]
public abstract class PdfAnnotation1
Inheritance
PdfAnnotation1
Inherited Members

Constructors

PdfAnnotation1()

Creates new annotation object.

protected PdfAnnotation1()

PdfAnnotation1(RectangleF)

Creates new annotation object with the specified bounds.

protected PdfAnnotation1(RectangleF bounds)

Parameters

bounds RectangleF

Bounds of the annotation.

Properties

AnnotationFlags

Gets or sets annotation flags.

public PdfAnnotationFlags AnnotationFlags { get; set; }

Property Value

PdfAnnotationFlags

Border

Gets or sets annotation's border.

public PdfAnnotationBorder Border { get; set; }

Property Value

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.

public RectangleF Bounds { get; set; }

Property Value

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.

public PdfColor Color { get; set; }

Property Value

PdfColor

The color.

Location

Gets or sets location of the annotation.

public PointF Location { get; set; }

Property Value

PointF

Page

Gets a page which this annotation is connected to.

public PdfPage Page { get; }

Property Value

PdfPage

Size

Gets or sets size of the annotation.

public SizeF Size { get; set; }

Property Value

SizeF

Text

Gets or sets content of the annotation.

public string Text { get; set; }

Property Value

string

Methods

Initialize()

Initializes annotation object.

protected virtual void Initialize()

Save()

Saves an annotation.

protected virtual void Save()