CPDFDocumentWriteSignatureToFilePath Method |
Writes the signature represented by the specified signature widget to a file.
Namespace:
ComPDFKit.PDFDocument
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax public bool WriteSignatureToFilePath(
CPDFSignatureWidget widget,
string savePath,
string pkcs12CertPath,
string password,
string location,
string reason,
CPDFSignaturePermissions permissions
)
Parameters
- widget
- Type: ComPDFKit.PDFAnnotation.FormCPDFSignatureWidget
The CPDFSignatureWidget object representing the signature to be written. - savePath
- Type: SystemString
The path where the signed document should be saved. - pkcs12CertPath
- Type: SystemString
The path to the PKCS#12 certificate file. - password
- Type: SystemString
The password for the PKCS#12 certificate file. - location
- Type: SystemString
The location associated with the signature. - reason
- Type: SystemString
The reason for signing the document. - permissions
- Type: ComPDFKit.DigitalSignCPDFSignaturePermissions
The permissions associated with the signature.
Return Value
Type:
BooleanReturns true if the signature is successfully written to the specified file; otherwise, returns false.
If the license does not support this feature, a message is traced, and the method returns false.
See Also