LAnnContainer::SelectRect

#include "ltwrappr.h"

virtual L_INT LAnnContainer::SelectRect(pRect)

LPRECT pRect;

pointer to the Windows RECT structure

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

Parameter

Description

pRect

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

Returns

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

LTANN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LAnnContainer::SelectPoint, LAnnotation::IsSelected, Class Members

Topics:

Annotation Functions: Using Window Coordinates to Select Objects

 

Annotation Functions: Object Information

 

Displaying and Manipulating Annotation Objects

Example

L_INT LAnnContainer_SelectRectExample(LAnnContainer * pAnnContainer) 
{ 
   L_INT nRet; 
   RECT rc={10,20,40,70}; 
   nRet = pAnnContainer->SelectRect(&rc); 
   return nRet; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help