Spread for ASP.NET 12 Product Documentation
SavePdf(Stream,PdfSecurity) Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SavePdf Method : SavePdf(Stream,PdfSecurity) Method
Stream to save the file to as a PDF stream
The password to encrypt pdf file
Handles the export (or printing) of all the sheets to PDF as a stream.
Syntax
'Declaration
 
Public Overloads Sub SavePdf( _
   ByVal stream As Stream, _
   ByVal pdfSecurity As PdfSecurity _
) 
'Usage
 
Dim instance As FpSpread
Dim stream As Stream
Dim pdfSecurity As PdfSecurity
 
instance.SavePdf(stream, pdfSecurity)
public void SavePdf( 
   Stream stream,
   PdfSecurity pdfSecurity
)

Parameters

stream
Stream to save the file to as a PDF stream
pdfSecurity
The password to encrypt pdf file
See Also

Reference

FpSpread Class
FpSpread Members
Overload List