←Select platform

Velocity Property

Summary

Final horizontal and vertical velocity of the drag, if the drag was inertial.

Syntax
C#
C++/CLI
public LeadPointD Velocity { get; set; } 
public:  
   property LeadPointD^ Velocity 
   { 
      LeadPointD^ get() 
      void set(LeadPointD^ value) 
   } 

Property Value

The final horizontal and vertical velocity of the drag, if the drag was inertial.

Remarks

snippet

time_delta = drag_completed_time_stamp - drag_started_time_stamp; // In Milliseconds 
veclocity.x = (Position.X - Origin.X) / time_delta; 
veclocity.y = (Position.Y - Origin.Y) / time_delta; 
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.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.