'Declaration Public Overloads Function SavePdf( _ ByVal sheet As Integer, _ ByVal stream As Stream _ ) 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
'Declaration Public Overloads Function SavePdf( _ ByVal sheet As Integer, _ ByVal stream As Stream _ ) As Boolean
System.IO.Stream s;
s = System.IO.File.Open("D:\\testprint\\test.pdf", IO.FileMode.OpenOrCreate);
FpSpread1.SavePdf(0, s);
Dim s As System.IO.Stream s = System.IO.File.Open("D:\testprint\test.pdf", IO.FileMode.OpenOrCreate) FpSpread1.SavePdf(0, s)