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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
static SizeD GetSelectionBorderThickness(
	Graphics^ graphics
)

Parameters

graphics
Type: System.Drawing::Graphics^

The 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.

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

Return to top
Show: