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