Gets the width of the border for a selection in the current view.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetSelectionBorderThickness ( _
graphics As Graphics _
) As SizeD
'使用
Dim graphics As Graphics
Dim returnValue As SizeD
returnValue = ShapeGeometry.GetSelectionBorderThickness(graphics)
public static SizeD GetSelectionBorderThickness(
Graphics graphics
)
public:
static SizeD GetSelectionBorderThickness(
Graphics^ graphics
)
public static function GetSelectionBorderThickness(
graphics : Graphics
) : SizeD
Parameters
graphics
Type: System.Drawing.GraphicsThe graphics which are in the selection.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The width of the border for a selection in the current view.
Permissions
- 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.