ShapeGeometry.GetSelectionBorderThickness Method (DiagramClientView)

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetSelectionBorderThickness ( _
    view As DiagramClientView _
) As SizeD
public static SizeD GetSelectionBorderThickness(
    DiagramClientView view
)
public:
static SizeD GetSelectionBorderThickness(
    DiagramClientView^ view
)
static member GetSelectionBorderThickness : 
        view:DiagramClientView -> SizeD
public static function GetSelectionBorderThickness(
    view : DiagramClientView
) : SizeD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The width of the border for a selection in the specified 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