VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Annotation.Dicom.Wpf.UI Namespace / WpfDicomCrosshairAnnotationView Class / IsPointOnFigure Methods / IsPointOnFigure(Point,Boolean) Method
Syntax Requirements SeeAlso
In This Topic
    IsPointOnFigure(Point,Boolean) Method (WpfDicomCrosshairAnnotationView)
    In This Topic
    Returns a value indicating whether the specified point is contained within the annotation.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function IsPointOnFigure( _
    ByVal point
    Point in image space.
    As System.Windows.Point, _
    ByVal ignoreContainmentCheckDistance
    A value indicating whether the point must be checked on the object only (ignore the "containment" region around object that is used for object selection).
    As Boolean _
    ) As Boolean
    public override bool IsPointOnFigure(
    System.Windows.Point point,
    bool ignoreContainmentCheckDistance
    )
    public: bool IsPointOnFigure(
    System.Windows.Point point,
    bool ignoreContainmentCheckDistance
    ); override
    public:
    bool IsPointOnFigure(
    System.Windows.Point point,
    bool ignoreContainmentCheckDistance
    ); override

    Parameters

    point
    Point in image space.
    ignoreContainmentCheckDistance
    A value indicating whether the point must be checked on the object only (ignore the "containment" region around object that is used for object selection).

    Return Value

    True if the specified point is contained within the annotation; otherwise, false.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also