PdfDocumentProcessor.SaveDocument(String, PdfSaveOptions) Method
Saves the current PDF document to the specified file path with encryption and sign settings.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v19.1.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
path | String | A String, specifying the path to the directory to which the PDF document should be saved. |
options | PdfSaveOptions | A PdfSaveOptions that contains the encryption and sign settings of a PDF document that should be saved. |
Remarks
The PDF Document API component locks a file while a document is saved (the SaveDocument method uses the detachStream parameter set to false). To unlock the file, call another overloaded SaveDocument method with the detachStream parameter enabled.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SaveDocument(String, PdfSaveOptions) 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.