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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
Public Overridable Function GetSelectionLineOffset ( _
view As DiagramClientView _
) As Double
public virtual double GetSelectionLineOffset(
DiagramClientView view
)
public:
virtual double GetSelectionLineOffset(
DiagramClientView^ view
)
abstract GetSelectionLineOffset :
view:DiagramClientView -> float
override GetSelectionLineOffset :
view:DiagramClientView -> float
public function GetSelectionLineOffset(
view : DiagramClientView
) : double
Parameters
- view
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The view.
Return Value
Type: System.Double
The distance between the selection border and the outside of the shape geometry.
Remarks
For a zoomed-out view, the gap 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.