| 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.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.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic SignDocDocument loadFromFile(
string path,
bool writable
)
Public Function loadFromFile (
path As String,
writable As Boolean
) As SignDocDocument
public:
SignDocDocument^ loadFromFile(
String^ path,
bool writable
)
member loadFromFile :
path : string *
writable : bool -> SignDocDocument
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