Visual Basic (Declaration) | |
---|---|
Protected Function GetLogicalAnnPoint( _ ByVal x As Integer, _ ByVal y As Integer, _ ByVal unit As AnnUnit _ ) As AnnPoint |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- x
- The X position to be converted.
- y
- The Y position to be converted.
- unit
- The unit that will be used in converting x and y values to AnnPoint.
Return Value
The AnnPoint which contains the converted x and y values using the specified unit for this designer.For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations
This is a helper method that can be used by derived classes to convert a physical point (obtained usually through the mouse events) to a logical point on the current Container object.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family