| 
Document
SaveToStream Method (Stream, FileFormat,
Byte
, 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
Syntax
 
 
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
 
- 
 Type:
 
System.IO
Stream
 
 The stream.
- 
fileFormat
 
- 
 Type:
 
Spire.Doc
FileFormat
 
 The file format.
- 
certificateData
 
- 
 Type:
 
System
Byte
 
 The certificate data.
- 
securePassword
 
- 
 Type:
 
System
String
 
 Password of the certificate.
 
 See Also
See Also