Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > PrintPDF |
Prints the sheet to a PDF document.
[JavaScript]
FpSpread1.PrintPDF();
None
None
This method prints the sheet to a PDF document.
This is a sample that contains the method. On the client side, the script that contains the method would look like this:
JavaScript |
Copy Code
|
---|---|
<script type="text/javascript"> function onPrintButtonClick() { FpSpread1.PrintPDF(); } </script> |