DiagramClientView.EnsureVisible 方法 (ICollection<ShapeElement>)
可確保指定的圖形檢視中的 [看得見。您可能需要捲動位置,並顯示比例的變更。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Sub EnsureVisible ( _
shapeElementCollection As ICollection(Of ShapeElement) _
)
public void EnsureVisible(
ICollection<ShapeElement> shapeElementCollection
)
參數
- shapeElementCollection
型別:System.Collections.Generic.ICollection<ShapeElement>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。