Units

Description

The unit of measure used to specify measurements in the DataWindow object. You set this in the DataWindow Style dialog box when you define the DataWindow object.

Applies to

DataWindows

Syntax

Describe argument:

"DataWindow.Units"

DataWindowSyntaxFromSql:

DataWindow ( Units = value )

Parameter

Description

value

The type of units for measurements in the DataWindow.

Values are:

  • 0 – Normalized units

  • 1 – Display pixels

  • 2 – 1/1000 of a logical inch

  • 3 – 1/1000 of a logical centimeter

Usage

Normalized units and display pixels are adjusted for printing.


In the painter

Select the DataWindow by deselecting all controls; then set the value in the Properties window, General category.

Examples

Example 1

[Visual Basic]
setting = dw1.Describe("DataWindow.Units")