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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
hitTestInfo
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfoThe object that will receive the results of the hit test.
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
- 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.