SelectedShapesCollection.EnsureVisible Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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.