ShapeField.DoPaint 方法
繪製由 shape 功能變數。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Overridable Sub DoPaint ( _
e As DiagramPaintEventArgs, _
parentShape As ShapeElement _
)
public virtual void DoPaint(
DiagramPaintEventArgs e,
ShapeElement parentShape
)
參數
- e
型別:Microsoft.VisualStudio.Modeling.Diagrams.DiagramPaintEventArgs
圖形化介面,並繪製圖表時所使用的其他引數。
- parentShape
型別:Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
指派給由 shape 功能變數的父圖案。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。