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
view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe view.
Return Value
Type: System.Double
The distance between the selection border and the outside of the shape geometry.
Permissions
- 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.