This topic has not yet been rated - Rate this topic

DiagramClientView.EnsureVisible Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method EnsureVisible(RectangleD) Ensures that the specified rectangle is visible in the view. Based on VisiblePreference setting for the Diagram, the RectangleD will be brought into view. ZoomOut may be used to fit the RectangleD iff MinimalScrollWithNoZoom VisiblePreference is not selected for this Diagram. Scrolling may be used to fit the RectangleD and depending on the VisiblePreference setting selected for the diagram, either the center of the Rectangle will be brought into view center or minimal scrolling that is required to bring the Rectangle into view will be done.
Public method EnsureVisible(ICollection<ShapeElement>) Ensures that the specified shapes are visible in the view. This may require changes to the scroll positions and to the zoom.
Public method EnsureVisible(RectangleD, DiagramClientView.EnsureVisiblePreferences) Ensures that the specified rectangle is visible in the view. This may require changes to the scroll positions and to the zoom.
Top
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ