Available in the LEADTOOLS Imaging toolkit. |
ScaleHeight property (Main Control)
Visual Basic
example
Visual C++ 4.0 example
Visual J++ 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 Main 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.
See Also
Elements: ScaleMode property, ScaleLeft property, ScaleTop property, ScaleWidth property
Topics: Working
with the Control: Client Area Usage
Raster Images: Displaying Images