ScaleWidth property (ILEADRaster, ILEADRasterView)
float ScaleWidth | |
Overview |
Refer to Displaying an Image. |
Remarks
(Persistent property, available at design time) Is the width of the client area of the LEAD RasterView 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 width of the control does not change, but the current width 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, ScaleHeight property, ScaleLeft property, ScaleTop property |
Topics: |
|
|