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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view.
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
- 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.