VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools.UserInteraction Namespace / InteractiveObjectArea Class / IsPointOnArea(ImageViewer,Int32,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    IsPointOnArea(ImageViewer,Int32,Int32) Method (InteractiveObjectArea)
    In This Topic
    Determines whether a point, in viewer space, is contained within the interaction area.
    Syntax
    'Declaration
    
    Public Overrides Function IsPointOnArea( _
    ByVal viewer
    The image viewer.
    As Vintasoft.Imaging.UI.ImageViewer, _
    ByVal x
    The X coordinate, in viewer space.
    As System.Int32, _
    ByVal y
    The Y coordinate, in viewer space.
    As System.Int32 _
    ) As Boolean
    public override bool IsPointOnArea(
    Vintasoft.Imaging.UI.ImageViewer viewer,
    System.Int32 x,
    System.Int32 y
    )
    public: bool IsPointOnArea(
    Vintasoft.Imaging.UI.ImageViewer* viewer,
    System.Int32 x,
    System.Int32 y
    ); override
    public:
    bool IsPointOnArea(
    Vintasoft.Imaging.UI.ImageViewer^ viewer,
    System.Int32 x,
    System.Int32 y
    ); override

    Parameters

    viewer
    The image viewer.
    x
    The X coordinate, in viewer space.
    y
    The Y coordinate, in viewer space.

    Return Value

    True if point is contained within the interaction area; 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