PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method creates a file attachment annotation on the current PDF page.
|
| LONG AddFileAttachmentAnnotation ( FLOAT x, FLOAT y, BSTR title, BSTR contents, BSTR filePath, 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
filePath
Path to the file to embed into the PDF file
charset
Character set of the annotation
Return value
Index of the annotation
Remarks
This method inserts a file attachment 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 CurrentAnnotationIndex.
The return value is an annotation/control identifier in the document's annotations collection and can be used in AddControlToAction and CurrentAnnotationIndex.
See Also
Reference


