LAnnContainer::SelectPoint

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SelectPoint(pPoint)

Selects the annotation object at the specified point, relative to the window. If objects overlap, this function selects the front object.

Parameters

LPPOINT pPoint

Pointer to the Windows POINT structure. Coordinates are relative to the associated window's client area.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

Selecting an object sets its selected property to TRUE.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LAnnContainer_SelectPointExample(LAnnContainer * pAnnContainer) 
{ 
   L_INT nRet; 
   POINT pt={10,20}; 
    
   nRet = pAnnContainer->SelectPoint(&pt); 
 
   return nRet; 
 
} 
Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help