ScaleWidth property (ILEADRasterContainerViewer)

Visual Basic example

Visual C++ example

 

Syntax

float ScaleWidth

Overview

Refer to Using the Image Viewer

Remarks

(Persistent property, available at design time) Gets or sets the width of the client area of the "Display Container".

This is the true client area. The unit of measure is determined by the ScaleMode property.

If you write to 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.

See Also

Elements:

ScaleMode property, ScaleTop property, ScaleLeft property, ScaleHeight property

Topics:

Image Viewer: Container Properties