Search
Overview Members
Constructors Properties Methods
 


The Overview control provides a scaled-down view of Diagram contents and allows scrolling and zooming a DiagramView.

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

 Public Constructors

  Name Description

Overview

Initializes a new instance of the Overview class.

 Public Properties

  Name Description

allowZoom

Gets or sets a value indicating whether users are allowed to zoom the diagramby resizing the overview's viewport tracker rectangle.

autoScrollAmount

Gets or sets the amount by which to auto-scroll the view when the mouse leaves the view boundaries while drawing.

backColor

Gets or sets the background color of the overview control.

diagramView

Gets or sets the DiagramView shown by this Overview.

dimColor

Gets or sets a color used to blend with the part of the diagram that is not visible in target DiagramView.

element

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

enabled

Gets or sets whether mouse events are enabled. (Inherited from Control.)

measureUnit

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

scaleFactor

Gets or sets a fixed scale factor to apply when FitAll is disabled.

scaleMode

Gets or sets a value indicating whether to fit the whole diagram inside the overview control.

scrollX

Gets the overview's horizontal scroll position.

scrollY

Gets the overview's vertical scroll position.

viewport

Returns the visible portion of the diagram area.

 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 Overview 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 Overview 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