| SignDocRenderParameterssetDecorations Method |
Enable rendering of decorations.
The default value is false.
For PDF documents, pages may optionally be rendered with
decorations: An icon visualizing the signature status will be
added to each signature field:
- no icon (signature field not signed)
- green check mark (signature is OK)
- green check mark with yellow triangle (signature is OK but the
certificate is not trusted or the document has been extended,
ie, modified and saved incrementally after signing)
- red cross (signature broken)
.
You might want to call setModificationState(true) to
compute the signature state more thoroughly.
Enabling rendering of decorations can slow down
SignDocDocument.renderPageAsImage() substantially for PDF
documents as each call will validate all the signatures of the
page.Moreover, long term validation(LTV) is currently not
supported by SignDocDocument::renderPageAsImage().Using
setDecorationState() might solve these problems.
It is recommended to display the status of signatures off - page
rather than using setDecorations(true), see
SignDocDocument.getSignature().
For TIFF documents, this value is ignored; a red cross will be
displayed in signature fields if the signature is broken.
Namespace:
de.softpro.signdocsdk
Assembly:
SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntaxpublic void setDecorations(
bool decorations
)
Parameters
- decorations
- Type: SystemBoolean
true to render decorations.
See Also