Partilhar via


DiagramClientView.EnsureVisiblePreferences Enum

Definition

Preferences for the EnsureVisible method.

This enumeration supports a bitwise combination of its member values.

public: enum class DiagramClientView::EnsureVisiblePreferences
[System.Flags]
public enum DiagramClientView.EnsureVisiblePreferences
[<System.Flags>]
type DiagramClientView.EnsureVisiblePreferences = 
Public Enum 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