Spread for ASP.NET 11 Product Documentation
SavePdf(String) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > SavePdf Method : SavePdf(String) Method
Path and file name of the PDF file
Handles the export (or printing) of all the sheets to PDF as a file.
Syntax
'Declaration
 
Public Overloads Sub SavePdf( _
   ByVal fileName As String _
) 
'Usage
 
Dim instance As FpSpread
Dim fileName As String
 
instance.SavePdf(fileName)
public void SavePdf( 
   string fileName
)

Parameters

fileName
Path and file name of the PDF file
Example
This example saves the Spread to a PDF file.
FpSpread1.SavePdf("D:\\testprint\\test1.pdf");
FpSpread1.SavePdf("D:\testprint\test1.pdf")
See Also

Reference

FpSpread Class
FpSpread Members
Overload List