PrintOperation.exportFilename

Set exportFilename property.

  1. string exportFilename [@property getter]
  2. string exportFilename [@property setter]
    class PrintOperation
    @property
    void
    exportFilename
    (
    string propval
    )

Parameters

propval string

The name of a file to generate instead of showing the print dialog.

Currently, PDF is the only supported format.

The intended use of this property is for implementing “Export to PDF” actions.

“Print to PDF” support is independent of this and is done by letting the user pick the “Print to PDF” item from the list of printers in the print dialog.