ScaleMode property (ILEADRasterContainerViewer)

Visual Basic example

Visual C++ example

 

Syntax

RasterScaleModeConstants ScaleMode

Overview

Refer to Using the Image Viewer

Remarks

(Persistent property, available at design time) Specifies the unit of measure for the "Display Container".

You can change the unit of measure at any time without affecting measurements that the "Display Container" maintains. The control accepts floating point values and converts them to pixels internally. This means, for example, that if you set a property value in twips, the value that you get back may be slightly different, since it is rounded to the nearest pixel.

Value

Meaning

0

Indicates that one or more of the ScaleHeight, ScaleWidth, ScaleLeft, and ScaleTop properties are set to custom values.

1

Twips (1440 twips per logical inch; 567 twips per logical centimeter).

2

Points (72 points per logical inch).

3

Pixels (smallest unit of monitor or printer resolution).

4

Characters (horizontal = 120 twips per unit; vertical = 240 twips per unit).

5

Inches.

6

Millimeters.

7

Centimeters.

See Also

Elements:

ScaleTop property, ScaleLeft property, ScaleHeight property, ScaleWidth property

Topics:

Image Viewer: Container Properties