Freigeben über


SelectedShapesCollection.EnsureVisible Method

Definition

Overloads

EnsureVisible()

Ensures that the selection is within the view. If it is not, it is centered in the view. If the selection is the diagram, then nothing happens.

EnsureVisible(DiagramClientView+EnsureVisiblePreferences)

Ensures that the selection is within the view.
If the selection is the diagram, then nothing happens.

EnsureVisible()

Ensures that the selection is within the view. If it is not, it is centered in the view. If the selection is the diagram, then nothing happens.

public:
 void EnsureVisible();
public void EnsureVisible ();
member this.EnsureVisible : unit -> unit
Public Sub EnsureVisible ()

Applies to

EnsureVisible(DiagramClientView+EnsureVisiblePreferences)

Ensures that the selection is within the view.
If the selection is the diagram, then nothing happens.

public:
 void EnsureVisible(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView::EnsureVisiblePreferences preferences);
public void EnsureVisible (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.EnsureVisiblePreferences preferences);
member this.EnsureVisible : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView.EnsureVisiblePreferences -> unit
Public Sub EnsureVisible (preferences As DiagramClientView.EnsureVisiblePreferences)

Parameters

preferences
DiagramClientView.EnsureVisiblePreferences

Preferences on how the selection should be brought into view.

Applies to