corelibraries-devexpress-dot-xtraprinting-dot-pdfsignatureoptions-83e17b47.md
Specifies the reason for encrypting the file.
Namespace : DevExpress.XtraPrinting
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
[DefaultValue("")]
public string Reason { get; set; }
<DefaultValue("")>
Public Property Reason As String
| Type | Default | Description |
|---|---|---|
| String | String.Empty |
A String value.
|
You can access this nested property as listed below:
| Object Type | Path to Reason |
|---|---|
| PdfExportOptions |
.SignatureOptions .Reason
|
For a code sample, see How to use the digital signature options when exporting a report to PDF.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Reason property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-winforms-export-pdf-digital-signature/CS/pdf-signature-sample/Form1.cs#L38
// Specify PDF signature options.
report.ExportOptions.Pdf.SignatureOptions.Reason = "Approved";
report.ExportOptions.Pdf.SignatureOptions.Location = "USA";
reporting-winforms-export-pdf-digital-signature/VB/pdf-signature-sample/Form1.vb#L38
report.ExportOptions.Pdf.SignatureOptions.Location = "location"
report.ExportOptions.Pdf.SignatureOptions.Reason = "reason"
See Also