Skip to main content
A newer version of this page is available. .
.NET Standard 2.0+

PdfDocumentProcessor.SaveDocument(String, Boolean) Method

Saves the current PDF document to the specified file using the detach stream mode.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public void SaveDocument(
    string path,
    bool detachStream
)

Parameters

Name Type Description
path String

A String that is the file path to which a document is saved.

detachStream Boolean

true, the PDF Document API component unlocks a file while a document is saved; false, the PDF Document API component locks a file while a document is saved (default mode).

Remarks

The PDF Document API component locks a file while a document is saved (the detachStream is set to false by default). To unlock the file, call the overloaded SaveDocument method with the detachStream parameter enabled.

See Also