Back to Devexpress

PdfSignatureOptions.Reason Property

corelibraries-devexpress-dot-xtraprinting-dot-pdfsignatureoptions-83e17b47.md

latest3.1 KB
Original Source

PdfSignatureOptions.Reason Property

Specifies the reason for encrypting the file.

Namespace : DevExpress.XtraPrinting

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
[DefaultValue("")]
public string Reason { get; set; }
vb
<DefaultValue("")>
Public Property Reason As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Reason
PdfExportOptions

.SignatureOptions .Reason

|

Remarks

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

csharp
// 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

vb
report.ExportOptions.Pdf.SignatureOptions.Location = "location"
report.ExportOptions.Pdf.SignatureOptions.Reason = "reason"

See Also

PdfSignatureOptions Class

PdfSignatureOptions Members

DevExpress.XtraPrinting Namespace