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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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
- shapeElementCollection
Type: System.Collections.Generic.ICollection<ShapeElement>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.