Table of Contents

Class PdfAnnotationsImp

Namespace
iTextSharp.text.pdf.intern
Assembly
iTextSharp.LGPLv2.Core.dll
public class PdfAnnotationsImp
Inheritance
PdfAnnotationsImp
Inherited Members

Constructors

PdfAnnotationsImp(PdfWriter)

public PdfAnnotationsImp(PdfWriter writer)

Parameters

writer PdfWriter

Fields

Annotations

This is the array containing the references to annotations that were added to the document.

protected List<PdfAnnotation> Annotations

Field Value

List<PdfAnnotation>

DelayedAnnotations

This is an array containg references to some delayed annotations (that were added for a page that doesn't exist yet).

protected List<PdfAnnotation> DelayedAnnotations

Field Value

List<PdfAnnotation>

acroForm

This is the AcroForm object for the complete document.

protected PdfAcroForm acroForm

Field Value

PdfAcroForm

Properties

AcroForm

Gets the AcroForm object.

public PdfAcroForm AcroForm { get; }

Property Value

PdfAcroForm

the PdfAcroform object of the PdfDocument

SigFlags

public int SigFlags { set; }

Property Value

int

Methods

AddAnnotation(PdfAnnotation)

public void AddAnnotation(PdfAnnotation annot)

Parameters

annot PdfAnnotation

AddCalculationOrder(PdfFormField)

public void AddCalculationOrder(PdfFormField formField)

Parameters

formField PdfFormField

AddPlainAnnotation(PdfAnnotation)

public void AddPlainAnnotation(PdfAnnotation annot)

Parameters

annot PdfAnnotation

ConvertAnnotation(PdfWriter, Annotation, Rectangle)

public static PdfAnnotation ConvertAnnotation(PdfWriter writer, Annotation annot, Rectangle defaultRect)

Parameters

writer PdfWriter
annot Annotation
defaultRect Rectangle

Returns

PdfAnnotation

HasUnusedAnnotations()

public bool HasUnusedAnnotations()

Returns

bool

HasValidAcroForm()

Checks if the AcroForm is valid.

public bool HasValidAcroForm()

Returns

bool

ResetAnnotations()

public void ResetAnnotations()

RotateAnnotations(PdfWriter, Rectangle)

public PdfArray RotateAnnotations(PdfWriter writer, Rectangle pageSize)

Parameters

writer PdfWriter
pageSize Rectangle

Returns

PdfArray