Partager via


SelectedShapesCollection.EnsureVisible Method

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.

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

Syntax

'Déclaration
Public Sub EnsureVisible
public void EnsureVisible()
public:
void EnsureVisible()
member EnsureVisible : unit -> unit 
public function EnsureVisible()

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

EnsureVisible Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace