PdfDocumentTrySaveAs Method

Attempt to save the PdfDocument to a file.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 2020.7.1
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
Download DLL or Install with Nuget