Table of Contents

Method zoomScale

Namespace
vdWebLibrary
Assembly
JsPropertiesExtractor.dll

zoomScale(int, int, double, int)

Scales the user's view in the component. The positive or negative scale is defined by the Delta value. X and y define the center point of the scaling in pixels.

public void zoomScale(int x, int y, double Delta, int postRedrawTimeout)

Parameters

x int

The x value of the action's center in pixels relative to upper-left corner of web control.

y int

The y value of the action's center in pixels relative to upper-left corner of web control.

Delta double

The multiplier that will be applied to the scale action.Set a value between 0 and 1 for zoom out or greater than 1 for zoom in

postRedrawTimeout int

Defines how much time will the component wait before redrawing the document.Set it to 0 in order to redraw the view immediately.Set it to -1 for no screen refresh.