fgl_report_setPaperMargins

Configure the physical margins of a report.

Syntax

fgl_report_setPaperMargins(
   topMargin STRING,
   bottomMargin STRING,
   leftMargin STRING,
   rightMargin STRING )
  1. topMargin - top margin value of the physical page (e.g. 0.5cm).
  2. bottomMargin - bottom margin value of the physical page (e.g. 0.5cm).
  3. leftMargin - left margin value of the physical page (e.g. 0.5cm).
  4. rightMargin - right margin value of the physical page (e.g. 0.5cm).

Usage

Function that configures the physical margins of a report

The physical margins of the report can be set by this function for the case that either label printing or multi page output has been selected by a call to fgl_report_selectLogicalPageMapping.

For additional information about the units that can be used to specify the margin values, see Dimension Resolver.

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.