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



In This Topic
    IsPointOnArea Method (InteractionArea)
    In This Topic
    Determines whether a point, in viewer space, is contained within the interaction area.
    Syntax
    'Declaration
     
    Public Overridable Function IsPointOnArea( _
       ByVal viewer As ImageViewer, _
       ByVal x As Integer, _
       ByVal y As Integer _
    ) As Boolean
    public virtual bool IsPointOnArea( 
       ImageViewer viewer,
       int x,
       int y
    )
    public: virtual bool IsPointOnArea( 
       ImageViewer* viewer,
       int x,
       int y
    ) 
    public:
    virtual bool IsPointOnArea( 
       ImageViewer^ viewer,
       int x,
       int y
    ) 

    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