Search
ZoomControl Members
Constructors Properties Methods
 


The ZoomControl lets users zoom and pan a target view control interactively.

The following tables list the members exposed by the ZoomControl type.

 Public Constructors

  Name Description

ZoomControl

Creates an instance of ZoomControl.

 Public Properties

  Name Description

activeColor

Gets or sets the color used to render depressed buttons.

autoPostBack

Gets or sets a value indicating whether the control will post back to the server when the control's value has changed.

backColor

Gets or sets the background color of the control.

borderColor

Gets or sets the color of ZoomControl elements' borders.

cornerRadius

Gets or sets the corner radius of rounded child elements.

element

Returns a reference to the control's DOM element. (Inherited from Control.)

enabled

Gets or sets whether mouse events are enabled.

fill

Gets or sets the color used to fill the ZoomControl elements.

innerColor

Gets or sets the color of plus, minus and arrow icons.

licenseLocation

Gets or sets the location of the license key file. (Inherited from Control.)

maxZoomFactor

Gets or sets the maximum zoom level allowed to set through this control.

measureUnit

Gets the unit of measure used for logical coordinates. (Inherited from CanvasControl.)

minZoomFactor

Gets or sets the minimum zoom level allowed to set through this control.

padding

Gets or sets the padding of the control's contents.

scrollStep

Gets or sets the scroll offset added when users click the pan arrows.

shadowColor

Gets or sets the color of the control elements' shadow.

showLabel

Gets or sets a value indicating whether the label that shows the current zoom level should be visible.

snapToZoomStep

Gets or sets a value indicating whether the trackbar should snap to zoomStep values when dragged.

target

Gets or sets the control modified by this ZoomControl.

textColor

Gets or sets the color of the the label that shows the current zoom level.

tickPosition

Gets or sets the current tick position of the trackbar.

zoomFactor

Gets or sets the zoom factor.

zoomStep

Gets or sets the amount by which to change zoom level when + and - buttons are clicked.

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the instance. (Inherited from Disposable.)

addHandlers

Adds an event listener to a DOM element. (Inherited from Control.)

clearHandlers

Removes all event listeners from a DOM element. (Inherited from Control.)

clientToDoc

Transforms a point from client to document coordinates. (Inherited from CanvasControl.)

create

Creates and initializes a new ZoomControl from the specified element. This method is static and can be called without creating an instance of the class.

docToClient

Transforms a point from document to client coordinates. (Inherited from CanvasControl.)

find

Returns the specified ZoomControl object. This member is static and can be invoked without creating an instance of the class.

fromJson

Constructs a JavaScript object from a JSON string. (Inherited from Control.)

raiseEvent

Raises an event. (Inherited from Disposable.)

registerForSubmit

Registers an onsubmit handler for the Control's parent html form to flush postback data. (Inherited from Control.)

removeEventListener

Removes a single event listener attached to the instance. (Inherited from Disposable.)

toJson

Converts a JavaScript object to a JSON string. (Inherited from Control.)

 See Also