| SignDocDocumentLoaderloadFromFile Method |
Load a document from a file.
Signing the document will overwrite the document, but see integer parameter "Optimize" of SignDocSignatureParameters.
You can open FDF files that reference a PDF file; the referenced PDF file will be opened and the FDF file will be applied to the loaded copy (using SetFieldFlag::FontFail).If the pathname of the referenced PDF file is not an absolute pathname, it will be interpreted as being relative to the directory containing the FDF file.
Namespace:
de.softpro.signdocsdk
Assembly:
SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntaxpublic SignDocDocument loadFromFile(
string path,
bool writable
)
Parameters
- path
- Type: SystemString
Pathname of the document file. - writable
- Type: SystemBoolean
Open for writing (used for signing TIFF documents in place, ignored for PDF documents).
Return Value
Type:
SignDocDocumentA new SignDocDocument object representing the document. After use, SignDocDocument.close() should be to free up native resources as soon as possible.
See Also