'Declaration Public Overloads Function SavePdf( _ ByVal sheet As Integer, _ ByVal stream As Stream, _ ByVal pdfSecurity As PdfSecurity _ ) As Boolean
Parameters
- sheet
- Index of sheet to print to PDF; -1 for all sheets
- stream
- Stream to save the file to as a PDF stream
- pdfSecurity
- The password to encrypt pdf file