SavePdf(SheetView,Stream,PdfSecurity) Method
In This Topic
Handles the export (or printing) of the specified sheet to PDF as a stream.
Syntax
'Declaration
Public Overloads Function SavePdf( _
ByVal As SheetView, _
ByVal As Stream, _
ByVal As PdfSecurity _
) As Boolean
'Usage
Dim instance As FpSpread
Dim sheetView As SheetView
Dim stream As Stream
Dim pdfSecurity As PdfSecurity
Dim value As Boolean
value = instance.SavePdf(sheetView, stream, pdfSecurity)
public bool SavePdf(
SheetView ,
Stream ,
PdfSecurity
)
Parameters
- sheetView
- Sheet to be printed
- stream
- Stream to save the file to as a PDF stream
- pdfSecurity
- The password to encrypt pdf file
Example
This example saves to PDF.
See Also