get_scaleFactor();
set_scaleFactor(value);
Object.defineProperty('scaleFactor');
Type | Description |
---|---|
double | The scale factor used to display the magnified image. Must be a value greater than 0. The default value is 2 (zoom in twice). |
Use the value of ScaleFactor to performing zooming of the image around the point when the user taps on the viewer as follows:
If the value of ScaleFactor is 1 (the default value), then no zooming is performed
If the value of ScaleFactor is greater than 1, then this value is multiplied by the current viewer scale factor (CurrentScaleFactor) to zoom the image in around the point
If the value of ScaleFactor is less than 1, then this value is multiplied by the current viewer scale factor (CurrentScaleFactor) to zoom the image out around the point