Spread for ASP.NET 9.0 Product Documentation
SavePdf Method
Example 


Handles the export (or printing) of all the sheets to PDF as a file.
Handles the export (or printing) of the specified sheet to a Portable Document Format (PDF) file.
Overload List
OverloadDescription
SavePdf(String)Handles the export (or printing) of all the sheets to PDF as a file.  
SavePdf(Stream)Handles the export (or printing) of all the sheets to PDF as a stream.  
SavePdf(Int32,Stream)Handles the export (or printing) of the specified sheet to PDF as a stream.  
SavePdf(SheetView,Stream)Handles the export (or printing) of the specified sheet to PDF as a stream.  
SavePdf(Int32,String)Handles the export (or printing) of the specified sheet to PDF as a file.  
SavePdf(SheetView,String)Handles the export (or printing) of the specified sheet to PDF as a file.  
Example
This example saves the Spread to a PDF file.
FpSpread1.SavePdf("D:\\testprint\\test.pdf"); 
FpSpread1.SavePdf("D:\testprint\test.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

 

 


Copyright © GrapeCity, inc. All rights reserved.