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


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")
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.