www.gnostice.com 

AddAnnotItem method (TgtExPDFEngine)

TgtExPDFEngine

Top 

 

procedure AddAnnotItem (AAnnot: TgtPDFAnnot);

 

Description

Call AnnotItem to add an annotation to the PDF document.

Consider the following table to refer to the class to be instantiated and passed as 'AAnnot'  for the corresponding Annotation.

 

 

               

Annotation required

Class to be instantiated

Text Annotation

TgtPDFTextAnnot

Link Annotation

TgtPDFLinkAnnot

Caret Annotation

TgtPDFCaretAnnot

Circle Annotation

TgtPDFCircleAnnot

File Attachment Annotation

TgtPDFFileAttachmentAnnot

Free Text Annotation

TgtPDFFreeTextAnnot

Ink Annotation

TgtPDFInkAnnot

Line Annotation

TgtPDFLineAnnot

Polygon Annotation

TgtPDFPolygonAnnot

Plyline Annotation

TgtPDFPolylineAnnot

Square Annotation

TgtPDFSquareAnnot

Stamp Annotation

TgtPDFStampAnnot

TextAnnotation

TgtPDFTextAnnot

MarkUp Annotation

TgtPDFTextMarkupAnnot

 

Note:        The annotation items added using this method need not be freed by the user.

       All the items will be freed at the end when EndDoc is called.