←Select platform

GetLogicalAnnPoint Method

Summary

Gets the logical AnnPoint for the specified x, y and unit for this designer.

Syntax

C#
VB
C++
protected virtual AnnPoint GetLogicalAnnPoint( 
   int x, 
   int y, 
   AnnUnit unit 
) 
  
Protected Function GetLogicalAnnPoint( _ 
   ByVal x As Integer, _ 
   ByVal y As Integer, _ 
   ByVal unit As Leadtools.Annotations.AnnUnit _ 
) As Leadtools.Annotations.AnnPoint 
protected: 
Leadtools.Annotations.AnnPoint GetLogicalAnnPoint(  
   int x, 
   int y, 
   Leadtools.Annotations.AnnUnit unit 
)  

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.

Remarks

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.

Example

For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations (Deprecated)

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly