Spread for ASP.NET 12 Product Documentation
PrintPDF
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > PrintPDF

Prints the sheet to a PDF document.

Syntax

[JavaScript]

FpSpread1.PrintPDF();

Parameters

None

Return Type

None

Remarks

This method prints the sheet to a PDF document.

Example

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>
See Also