Click or drag to resize

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
)

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