Skip to main content

PdfDocumentSigner.FailOnInvalidDocument Property

Specifies whether to throw an exception when the document to sign is invalid.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v24.1.dll

NuGet Package: DevExpress.Document.Processor


public bool FailOnInvalidDocument { get; set; }

Property Value

Type Description

true, to throw an exception; otherwise, false.


When you sign an invalid document, the PDF Document API fixes it. If this document contains signatures, they become invalid. Set the FailOnInvalidDocument to true to throw an exception when signing the invalid file.

See Also