SelectedShapesCollection::EnsureVisible Method (DiagramClientView::EnsureVisiblePreferences)

 

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

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void EnsureVisible(
	DiagramClientView::EnsureVisiblePreferences preferences
)

Parameters

preferences
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView::EnsureVisiblePreferences

Preferences on how the selection should be brought into view.

Return to top
Show: