FileAttachmentCreate Method (SDFDoc, Rect, String) |
Creates a file attachment annotation.
A file attachment annotation contains a reference to a file, which typically
is embedded in the PDF file.
Namespace:
pdftron.PDF.Annots
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public static FileAttachment Create(
SDFDoc doc,
Rect pos,
string path
)
Public Shared Function Create (
doc As SDFDoc,
pos As Rect,
path As String
) As FileAttachment
public:
static FileAttachment^ Create(
[InAttribute] SDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] String^ path
)
pdftron.PDF.Annots.FileAttachment.Create = function(doc, pos, path);
Parameters
- doc
- Type: pdftron.SDFSDFDoc
A document to which the annotation is added.
- pos
- Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in
user space coordinates.
- path
- Type: SystemString
the path
Return Value
Type:
FileAttachment A new file attachment annotation.
Remarks PDF Viewer applications should provide predefined icon appearances for at least
the following standard names: Graph PushPin Paperclip Tag. Additional names may
be supported as well. Default value: PushPin.
See Also