Leadtools.Controls Namespace > ImageViewer Object : ScaleFactor Property |
get_scaleFactor();
Object.defineProperty('scaleFactor');
Type | Description |
---|---|
double | The value of the scale factor. Default value is 1.0. |
This value is calculated by UpdateTransform based on the value passed to the last call to Zoom.
ScaleFactor is the maximum of the actual horizontal and vertical values stored in XScaleFactor and YScaleFactor. If Zoom is called with any ControlSizeMode other than ControlSizeMode.Stretch than the horizontal and vertical scale factors will be the same.