ShapeGeometry.GetSelectionLineOffset Method

Gets the distance between the selection and the outside of the shape geometry.

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

Syntax

'宣言
Public Overridable Function GetSelectionLineOffset ( _
    view As DiagramClientView _
) As Double
'使用
Dim instance As ShapeGeometry
Dim view As DiagramClientView
Dim returnValue As Double

returnValue = instance.GetSelectionLineOffset(view)
public virtual double GetSelectionLineOffset(
    DiagramClientView view
)
public:
virtual double GetSelectionLineOffset(
    DiagramClientView^ view
)
public function GetSelectionLineOffset(
    view : DiagramClientView
) : double

Parameters

Return Value

Type: System.Double

The distance between the selection border and the outside of the shape geometry.

Permissions

See Also

Reference

ShapeGeometry Class

ShapeGeometry Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace