←Select platform

AutomationPointerDown Event

Summary
Event that triggers when the pointer (mouse or touch) is down or tapped on the control.
Syntax
C#
C++/CLI
Python
public event EventHandler<AnnPointerEventArgs> AutomationPointerDown 
public:  
   event EventHandler<AnnPointerEventArgs^>^ AutomationPointerDown 
def AutomationPointerDown(sender,e): # sender: IAnnAutomationControl e: AnnPointerEventArgs 
Event Data

The event handler receives an argument of type AnnPointerEventArgs containing data related to this event. The following AnnPointerEventArgs properties provide information specific to this event.

Property Description
Button Gets the mouse button that was pressed.
Location The location of the mouse or touch down in image coordinates. To convert to container (annotation) coordinates, use AnnContainerMapper
Remarks

OnAutomationPointerDown implementation must trigger the AutomationPointerDown event.

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.