PDF Export

Syntax

$input.pdfExport(name: "my-data.pdf")

Description

Creates a PDF export with the specified name from the specified object. The object will be printed using the form definition annotated to its type. If the model type does not have a form definition, a default form is created which contains all visible properties of the type.

A form definition for export is stored using the "PDF export definition" annotation on the type of the object to be exported.

Parameters

Name Type Description Mandatory Default
input Subject object The object to be printed yes -
name String The file name of the generated PDF file. no "export.pdf"