Image Viewer CP ActiveX Control

PDFInitAnnotation

 

Initialize the PDF annotation features. Before you call any PDF annotation methods, you must call PDFOutputPDFA = True and call PDFInitAnnotation method first.
 

Public Function PDFInitAnnotation()

 

No Parameter


No Return Value


Example

   

Visual Basic Syntax
ImageViewer1.PDFOutputPDFA = True
ImageViewer1.PDFInitAnnotation
FontID = ImageViewer1.PDFAddFont("Arial", True, True)
ImageViewer1.PDFSetTextColor 255, 0, 255
ImageViewer1.PDFDrawText 0, 0, 10000, "This is sample text 1 ", FontID, 40, 0