fgl_report_configurePDFDevice

Configure the PDF output.

Syntax

fgl_report_configurePDFDevice(
   fontDirectory STRING,
   antialiasFonts BOOLEAN,
   antialiasShapes BOOLEAN,
   monochrome BOOLEAN,
   fromPage INTEGER,
   toPage INTEGER)
  1. fontDirectory - Absolute path to the directory containing the font files. This new font directory is added to the list of standard font directories for your platform.
    Tip: To specify the directories to search for PDF fonts, use the fontinfopdf script on the command line.
  2. antialiasFonts - Configures whether fonts should be rendered using antialiasing. The default value is FALSE.
    Note: To specify a BOOLEAN value, enter TRUE or FALSE without quotation marks.
  3. antialiasShapes - Configures whether shapes should be rendered using antialiasing. The default value is FALSE.
  4. monochrome - Configures whether color values should be converted to monochrome output. The default value is FALSE.
  5. fromPage - Selects the lower bound of the range of pages to include in the PDF document. The default value is 1.
  6. toPage - Selects the upper bound of the range of pages to include in the PDF document. By default all pages are included.

Usage

Function to configure the PDF output.

This function is applicable when PDF output has been selected by a call to the function fgl_report_selectDevice. All arguments to this function are optional; pass a value of NULL if you don't want to set a value. If the PDF document should be written to a file, the general function fgl_report_setOutputFileName and fgl_report_selectPreview are available for this purpose.

For an example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.