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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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.DiagramHitTestInfo
The 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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace
DoHitTest(IGeometryHost, PointD, DiagramHitTestInfo, Boolean)