public HPDF_STATUS saveToFile(string filename)

Saves the document to a file.

Parameters

filename

The name of the file to save