Click or drag to resize

Document SaveToFile Method (String, FileFormat, String, String)

Saves document to file and digitally sign, Only DOC and DOCX are supported.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public void SaveToFile(
	string fileName,
	FileFormat fileFormat,
	string certificatePath,
	string securePassword
)

Parameters

fileName
Type: System String
fileFormat
Type: Spire.Doc FileFormat
The file format.
certificatePath
Type: System String
Path to the file certificate
securePassword
Type: System String
Password of the certificate.
See Also