VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.UI.VisualTools.UserInteraction Namespace / InteractiveObjectArea Class / IsPointOnArea Method
The image viewer.
The X coordinate, in viewer space.
The Y coordinate, in viewer space.



In This Topic
    IsPointOnArea 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 As ImageViewer, _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As Boolean
    public override bool IsPointOnArea( 
       ImageViewer viewer,
       int x,
       int y
    )
    public: bool IsPointOnArea( 
       ImageViewer* viewer,
       int x,
       int y
    ) override 
    public:
    bool IsPointOnArea( 
       ImageViewer^ viewer,
       int x,
       int 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; false, otherwise.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also