Click or drag to resize
SignDocDocumentsaveToFile Method
Save the document to a file. After a successful call to this function, the document behaves as if it had been loaded from the specified file. sf_incremental is supported only if null is passed for @a aPath, that is, when saving to the file from which the document was loaded or to which the document was most recently saved (by saveToFile(), not by saveToStream()). Saving a signed PDF document without sf_incremental will break all signatures, see getRequiredSaveToFileFlags().

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public void saveToFile(
	string path,
	SaveFlag flags
)

Parameters

path
Type: SystemString
The pathname of the file to be created or overwritten. Pass null to save to the file from which the document was loaded or most recently saved (which will fail if the documment was loaded from memory or saved to a stream).
flags
Type: de.softpro.signdocsdk.Enums.EDocumentSaveFlag
Set of flags (#sf_incremental, #sf_linearized, #sf_pdf_1_4, #sf_pdfa_buttons, and #sf_remove_unused combined with `|') modifying the behavior of this function. Pass 0 for no flags. Which flags are available depends on the document type.
See Also