ImageMan.Net Version 3 Summer 2012 Release
LastPoint Property
See Also  Send Feedback
DTI.ImageMan Namespace > Points Class : LastPoint Property





Glossary Item Box

Returns the last point that was added to the collection.

Syntax

Visual Basic (Declaration) 
Public Property LastPoint As System.Drawing.Point
Visual Basic (Usage)Copy Code
Dim instance As Points
Dim value As System.Drawing.Point
 
instance.LastPoint = value
 
value = instance.LastPoint
C# 
public System.Drawing.Point LastPoint {get; set;}
JScript 
public function get,set LastPoint : System.Drawing.Point
Managed Extensions for C++ 
public: __property System.Drawing.Point get_LastPoint();
public: __property void set_LastPoint( 
   System.Drawing.Point value
);
C++/CLI 
public:
property System.Drawing.Point LastPoint {
   System.Drawing.Point get();
   void set (    System.Drawing.Point value);
}

Remarks

The LastPoint property was added to make it easy to handle MouseMove events, where the same point is constantly being updated. This makes it unnecessary to maintain a variable that correlates to the point you are working on.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.