ASP.NET Pack Programmer's Guide
Overview Members
Constructors Methods
 


The Overview control provides a scaled-down view of a Diagram contents and allows scrolling and zooming the diagram with the mouse.

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 Methods

  Name Description

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.

find

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

getAllowZoom

Gets a value indicating whether users are allowed to zoom the diagram by resizing the overview's viewport tracker rectangle.

getAutoScrollAmount

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

getEnabled

Checks if mouse events are enabled.

getScaleFactor

Gets a fixed scale factor to be used when FitAll is disabled.

getScaleMode

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

getScrollX

Gets the overview's horizontal scroll position.

getScrollY

Gets the overview's vertical scroll position.

getViewport

Returns the visible portion of the diagram area.

registerForSubmit

Registers an onsubmit handler for the Overview's parent html form to flush postback data.

setAllowZoom

Sets a value indicating whether users are allowed to zoom the diagram by resizing the overview's viewport tracker rectangle.

setAutoScrollAmount

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

setDiagram

Sets the Diagram shown by this Overview.

setEnabled

Enables or disables handling of mouse events.

setScaleFactor

Sets a fixed scale factor to be used when FitAll is disabled.

setScaleMode

Sets a value indicating whether to fit the whole diagram inside the overview control.

 See Also

Overview Class
MindFusion.Diagramming Namespace