PdfViewerExtensions.SaveDocument(IPdfViewer, String, PdfSaveOptions) Method
Saves the document to the specified file path with encryption settings and document signature. This is an extension method.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v24.2.dll
NuGet Package: DevExpress.Document.Processor
#Declaration
public static bool SaveDocument(
this IPdfViewer viewer,
string path,
PdfSaveOptions options
)
#Parameters
Name | Type | Description |
---|---|---|
viewer | IPdf |
A Pdf |
path | String | A System. |
options | Pdf |
A Pdf |
#Returns
Type | Description |
---|---|
Boolean | true, if the document is saved successfully; false, if the document saving operation is cancelled by the user. |
#Remarks
See the Document Protection and Signing Document topics to learn more.
Note
The PDF Viewer locks a file while a document is saved (the Pdf