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
)
Public Shared Function Create (
doc As SDFDoc,
path As String
) As FileSpec
public:
static FileSpec^ Create(
[InAttribute] SDFDoc^ doc,
[InAttribute] String^ path
)
pdftron.PDF.FileSpec.Create = function(doc, 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