Click or drag to resize

PdfDocumentTrySaveAs Method

Attempt to save the PdfDocument to a file.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.2.27556 (4.4.4.0)
Syntax
public bool TrySaveAs(
	string FileName
)

Parameters

FileName
Type: SystemString
File Path

Return Value

Type: Boolean
}true if the file was saved successfully. false if an error occurred (e.g. file was locked or insufficient permissions).
See Also