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, byte[] certificateData, string securePassword )
Public Sub SaveToStream ( stream As Stream, fileFormat As FileFormat, certificateData As Byte(), securePassword As String )
public: void SaveToStream( Stream^ stream, FileFormat fileFormat, array<unsigned char>^ certificateData, String^ securePassword )
member SaveToStream : stream : Stream * fileFormat : FileFormat * certificateData : byte[] * securePassword : string -> unit
Parameters
- stream
- Stream
The stream.
- fileFormat
- FileFormat
The file format.
- certificateData
- array<Byte>[]()[][]
The certificate data.
- securePassword
- String
Password of the certificate.