ShapeGeometry::GetSelectionLineOffset Method (DiagramClientView^)

 

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

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

public:
virtual double GetSelectionLineOffset(
	DiagramClientView^ view
)

Return Value

Type: System::Double

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

For a zoomed-out view, the gap is increased so that it is always the same size on the screen.

Return to top
Show: