Selecting a Unit of Measurement

How to:

You can select the unit of measurement for page margins and column width for HTML reports that generate an internal Cascading Style Sheet, as well as PDF and PostScript reports. In addition, you can also select the unit of measurement for column position in PDF and PS reports. You can select inches, centimeters, or points as the unit of measure.

If you change the unit of measure, all existing measurements are automatically converted to the new scale. For example, if the unit of measure is inches and the top margin for the report is set to 1, and you later change the unit of measure to centimeters, the size of the top margin is automatically converted to 1 centimeter.

You can set the unit of measure using a:


Top of page

x
Syntax: How to Set the Unit of Measurement

To set a unit of measurement:

In a StyleSheet, add the following attribute

UNITS = units

Outside of a report request, use

SET UNITS = units

Within a report request, use

ON TABLE SET UNITS units

where:

units

Is the unit of measure. Values can be:

INCHES that specifies the unit of measure as inches. This is the default value.

CM that specifies the unit of measure as centimeters.

PTS that specifies the unit of measure as points. Points is a common measurement scale for typefaces.


WebFOCUS