共用方式為


NodeShapeGeometry.DrawResizeableGrabHandles 方法

繪製且可調整大小會抓取控點,在圖形上。抓取控點也會指示焦點。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Protected Shared Sub DrawResizeableGrabHandles ( _
    g As Graphics, _
    styleSet As StyleSet, _
    innerSelectionRectangle As RectangleF, _
    selectionThickness As SizeF, _
    isPrimary As Boolean, _
    canResizeLeft As Boolean, _
    canResizeTop As Boolean, _
    canResizeRight As Boolean, _
    canResizeBottom As Boolean _
)
protected static void DrawResizeableGrabHandles(
    Graphics g,
    StyleSet styleSet,
    RectangleF innerSelectionRectangle,
    SizeF selectionThickness,
    bool isPrimary,
    bool canResizeLeft,
    bool canResizeTop,
    bool canResizeRight,
    bool canResizeBottom
)

參數

.NET Framework 安全性

請參閱

參考

NodeShapeGeometry 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間