Page tree
Skip to end of metadata
Go to start of metadata

Introduced in build 10.0

Description

Saves a Worksheet as a PDF file at a specified file path.
C#
vb.net

Parameters

filePath
A string representing the filepath you would like to save the PDF to.

 

Exceptions

System.Exception
If there is a problem creating, opening, or writing to the file specified, or reading from the Worksheet object.

Remarks

The Worksheet.PageSetup property will be used to specify how the worksheet should be rendered to the PDF document.  The individual PageSetup options are reflected in the final document.

Examples

C#
vb.net
  • No labels