ScaleMode property (ILEADRaster, ILEADRasterView)
RasterScaleModeConstants ScaleMode | |
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Specifies the unit of measure for the LEAD RasterView Control.
You can change the unit of measure at any time without affecting measurements that the control 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.
This property is also present in the ILEADRaster Object. You can use this property when you don't have a control, but still want to use ScaleMode units.
Setting |
Description |
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. |
For an ILEADRaster object, you should not set the ScaleMode to SCALEMODE_USER , SCALEMODE_USER should only be used with ILEADRasterView objects.
See Also
Elements: |
ScaleHeight property, ScaleLeft property, ScaleTop property, ScaleWidth property |
Topics: |
|
|