Set bottom margin

Command group Flag affected Reversible Execute on client Platform(s)
Report parameters NO NO NO All

Syntax

Set bottom margin ([Measurement in cms]) {measurement-in-inches/cms}

Options

Measurement in cms If specified ,the measurement parameter is a value in centimetres rather than inches

Description

This command specifies the bottom margin for the current report class. It overrides the $bottommargin property until such time as the current report is reset.

Example

# Prompt user and set appropiate margins
Set report name rMyReport
Yes/No message {Print on metric A4 paper?}
If flag true
  Set bottom margin (Measurement in cms{2.34}
  Set top margin (Measurement in cms{1.2}
Else
  Set bottom margin {1.0}
  Set top margin {1.0}
  # Default measurement is inches
End If
Print report
Set report name rMyReport ## the settings for rMyReport are now reverted

# Alternatively, you can use notation to set the bottom margin
Do $clib.$reports.rMyReport.$bottommargin.$assign(1.0)