FileAttachmentCreate Method (SDFDoc, Rect, String, 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,
string icon_name
)
Public Shared Function Create (
doc As SDFDoc,
pos As Rect,
path As String,
icon_name As String
) As FileAttachment
public:
static FileAttachment^ Create(
[InAttribute] SDFDoc^ doc,
[InAttribute] Rect^ pos,
[InAttribute] String^ path,
[InAttribute] String^ icon_name
)
pdftron.PDF.Annots.FileAttachment.Create = function(doc, pos, path, icon_name);
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
- icon_name
- Type: SystemString
the icon_name
Return Value
Type:
FileAttachment A new file attachment annotation.
See Also