Click or drag to resize

FileSpecCreate Method (SDFDoc, String)

Creates a file specification for the given file. By default, the specified file is embedded in PDF.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static FileSpec Create(
	SDFDoc doc,
	string path
)

Parameters

doc
Type: pdftron.SDFSDFDoc
- A document to which the FileSpec should be added. To obtain SDFDoc from PDFDoc use PDFDoc::GetSDFDoc() or Obj::GetDoc().
path
Type: SystemString
- The path to convert into a file specification.

Return Value

Type: FileSpec
newly created FileSpec object.
See Also