exportAsPdf

public final void exportAsPdf(String filepath)

Exports the document as PDF format to the specified file path.

Parameters

filepath

The file path where the PDF document will be saved.