FileSpec Class |
Namespace: pdftron.PDF
public sealed class FileSpec : IClosable
The FileSpec type exposes the following members.
Name | Description | |
---|---|---|
Close | ||
Create(SDFDoc, String) | Creates a file specification for the given file. By default, the specified
file is embedded in PDF.
| |
Create(SDFDoc, String, Boolean) | Creates the.
| |
CreateURL | Creates a URL file specification.
| |
Equals | (Inherited from Object.) | |
Export | The function saves the data referenced by this FileSpec to an external file.
| |
Export(String) | Export.
| |
GetFileData | The function returns data referenced by this FileSpec.
| |
GetFilePath | Gets the file path.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetSDFObj | Gets the SDFObj.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsValid | Checks if is valid.
| |
Set | Sets value to the give FileSpec object | |
SetDesc | The functions sets the descriptive text associated with the file specification.
This text is typically used in the EmbeddedFiles name tree. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
SDF.NameTree names = SDF.NameTree.Create(doc.GetSDFDoc(), "EmbeddedFiles");
names.put(file_key, file_keysz, embedded_file.GetSDFObj());