LONG AddTextAnnotation ( FLOAT x, FLOAT y, BSTR title, BSTR contents, FontCharset charset ) |
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.