PdfDocumentProcessor.FlattenForm() Method
Flattens an entire interactive form.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
#Returns
Type | Description |
---|---|
Boolean | true If the interactive form is flattened successfully; false If the document doesn’t contain an interactive form that should be flattened. |
#Remarks
You can call the FlattenForm method the following way:
using (PdfDocumentProcessor processor = new PdfDocumentProcessor()) {
processor.LoadDocument("Demo.pdf");
if (processor.FlattenForm())
processor.SaveDocument("Result.pdf");
}
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FlattenForm() method.
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.