Document
SaveToStream Method (Stream, FileFormat, String, String)
|
Saves document to stream 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 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
-
Type:
System.IO
Stream
The stream.
-
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