Click or drag to resize

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
)

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