Share via


ShapeGeometry.GetHitTestTolerance Method

Gets the tolerance around the shape geometry to use when a hit test is performed.

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

Syntax

'Declaration
Protected Shared Function GetHitTestTolerance ( _
    hitTestInfo As DiagramHitTestInfo _
) As SizeD
protected static SizeD GetHitTestTolerance(
    DiagramHitTestInfo hitTestInfo
)
protected:
static SizeD GetHitTestTolerance(
    DiagramHitTestInfo^ hitTestInfo
)
static member GetHitTestTolerance : 
        hitTestInfo:DiagramHitTestInfo -> SizeD
protected static function GetHitTestTolerance(
    hitTestInfo : DiagramHitTestInfo
) : SizeD

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SizeD
The tolerance around the shape geometry to use when a hit test is performed.

.NET Framework Security

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

DoHitTest