exportPDF method

This method exports the spreadsheet as a PDF file.

Defined in

Spreadsheet

Syntax

public void exportPDF(String fileName) throws SymphonyException

Parameters

String fileName

Specifies the name of the exported PDF file and must be the full file name containing the file path. For example, on Microsoft® Windows®, the format is D:\\test.pdf . On Linux®, the format is /home/me/test.pdf.

Usage

If the file path does not exist, this method throws an exception.

If the file already exists and the spreadsheet is in visible mode, prompt asks if the existing file should be overwritten.

If the file already exists and the document is in invisible mode, this method overwrite the existing file.

See examples

Example: exportPDF method