Saves document to stream and digitally sign, Only DOC and DOCX are supported.
Namespace: Spire.DocAssembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public void SaveToStream( Stream stream, FileFormat fileFormat, string certificatePath, string securePassword )
Public Sub SaveToStream ( stream As Stream, fileFormat As FileFormat, certificatePath As String, securePassword As String )
public: void SaveToStream( Stream^ stream, FileFormat fileFormat, String^ certificatePath, String^ securePassword )
member SaveToStream : stream : Stream * fileFormat : FileFormat * certificatePath : string * securePassword : string -> unit
Parameters
- stream
- Stream
The stream.
- fileFormat
- FileFormat
The file format.
- certificatePath
- String
Path to the file certificate
- securePassword
- String
Password of the certificate.