LAnnContainer::SelectRect

Summary

Selects all objects within the specified rectangle, relative to the window.

Syntax

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SelectRect(pRect)

Parameters

LPRECT pRect

Pointer to the Windows RECT 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_SelectRectExample(LAnnContainer * pAnnContainer) 
{ 
   L_INT nRet; 
   RECT rc={10,20,40,70}; 
    
   nRet = pAnnContainer->SelectRect(&rc); 
 
   return nRet; 
} 
Help Version 22.0.2022.6.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help