PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method creates an information annotation on the current PDF page.
|
| LONG AddTextAnnotation ( FLOAT x, FLOAT y, BSTR title, BSTR contents, FontCharset charset ) |
Parameters
x
X coordinate of the top-left corner of the bounding rectangle
y
Y coordinate of the top-left corner of the bounding rectangle
title
Title of the annotation
contents
Contents of the annotation
charset
Character set of the annotation
Return value
Index of the annotation
Remarks
This method inserts a colored text annotation into the current page in the area bounded by the specified coordinates. The strings title and content set the title and content of the annotation.
The return value is an annotation/control identifier in the document's annotations collection and can be used in AddControlToAction and CurrentAnnotation.
See theĀ AddUnicodeTextAnnotation for examples.
See Also
Reference


