ShapeGeometry.GetSelectionBorderThickness Method (Graphics)

Gets the width of the border for a selection in the current view.

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 Shared Function GetSelectionBorderThickness ( _
    graphics As Graphics _
) As SizeD
public static SizeD GetSelectionBorderThickness(
    Graphics graphics
)
public:
static SizeD GetSelectionBorderThickness(
    Graphics^ graphics
)
static member GetSelectionBorderThickness : 
        graphics:Graphics -> SizeD 
public static function GetSelectionBorderThickness(
    graphics : Graphics
) : SizeD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The width of the border for a selection in the current view.

Remarks

For a zoomed-out view, the thickness of the border is increased so that it is always the same size on the screen.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

GetSelectionBorderThickness Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace