LEADZONE

Summary

The LEADZONE structure provides information about zones detected by LBitmap::AutoZone function.

Syntax

typedef struct _LEADZONE 
{ 
   L_UINT uStructSize; 
   L_UINT uIndex; 
   L_UINT uZoneType; 
   RECT rcLocation; 
   L_VOID * pZoneData; 
} LEADZONE, *pLEADZONE; 

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator to calculate this value.

uIndex

A zero-based index of the zone.

uZoneType

Value that determines the zone type. Possible values are:

Value Meaning
LEAD_ZONE_TYPE_TEXT [0x0000] The zone is of type text.
LEAD_ZONE_TYPE_GRAPHIC [0x0001] The zone is of type graphic.
LEAD_ZONE_TYPE_TABLE [0x0002] The zone is of type table.
LEAD_ZONE_TYPE_DOT_LINE [0x0003] The zone is of type line.

rcLocation

The rectangle that bounds the zone.

pZoneData

Extended data about the zone. You must cast this to:

(pTABLEZONE) if case the zone type is table. (pTEXTZONE) if case the zone type is text. (pDOTLINEZONE) if case the zone type is dotted line.

Comments

The structure is used by:

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.