ScaleHeight property (ILEADRaster, ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

float ScaleHeight

Overview

Refer to Displaying an Image.

Remarks

(Persistent property, available at design time) Is the height of the client area of the LEADRasterView Control.

This is the true client area, which you can use when painting to fit a destination rectangle to the bitmap. The unit of measure is determined by the ScaleMode property.

If you write this property, the actual height of the control does not change, but the current height is expressed using the value that you provide. This lets you use a custom coordinate system. For example, you could set the ScaleWidth and ScaleHeight both to 100; then express all coordinates as percentage offsets. For examples of a custom coordinate system, refer to the ScaleTop property.

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.

See Also

Elements:

ScaleMode property, ScaleLeft property, ScaleTop property, ScaleWidth property

Topics:

Working with the Control: Client Area Usage

 

Raster Images: Displaying Images