DiagramClientView.EnsureVisiblePreferences Enum

Definition

Preferences for the EnsureVisible method.

This enumeration supports a bitwise combination of its member values.

C++
public: enum class DiagramClientView::EnsureVisiblePreferences
Inheritance
DiagramClientView.EnsureVisiblePreferences
Attributes

Fields

Name Value Description
ScrollHorizontally 1

Scrolls the view horizontally first; if the rectangle is still not visible, the view will be scrolled vertically.

ScrollVertically 2

Scrolls the view vertically first; if the rectangle is still not visible, the view will be scrolled horizontally.

ScrollIntoViewCenter 3

Scrolls the view both vertically and horizontally such that the rectangle is centered in the view.

MinimalScrollWithNoZoom 4

Minimal scroll required to get the rectangle in view without zooming out, if the rectangle doesn't fit.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022