Skip to main content

TdxPDFDocument.SaveToFile(string,Boolean,Boolean) Method

Saves the document to a file.

Declaration

procedure SaveToFile(const AFileName: string; AAllowSignatureRemoval: Boolean = False; AResetModified: Boolean = True);

Parameters

Name Type Description
AFileName string

An absolute or relative path to the target file.

AAllowSignatureRemoval Boolean

Optional. If True, the procedure removes all digital signatures that the document already has; otherwise, the procedure raises an exception.

AResetModified Boolean

Optional. If True, the procedure resets the Modified property to False.

Remarks

Call the SaveToFile procedure to save all changes made in the document.

Note

The SaveToFile procedure has the same behavior and limitations as the SaveToStream procedure because SaveToFile calls it internally.

See Also