Delen via


DiagramClientView.EnsureVisible Method (ICollection<ShapeElement>)

Ensures that the specified shapes are visible in the view. This may require changes to the scroll positions and to the zoom.

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

Syntax

'Declaration
Public Sub EnsureVisible ( _
    shapeElementCollection As ICollection(Of ShapeElement) _
)
public void EnsureVisible(
    ICollection<ShapeElement> shapeElementCollection
)
public:
void EnsureVisible(
    ICollection<ShapeElement^>^ shapeElementCollection
)
member EnsureVisible : 
        shapeElementCollection:ICollection<ShapeElement> -> unit
public function EnsureVisible(
    shapeElementCollection : ICollection<ShapeElement>
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

EnsureVisible Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace