LEADZONE

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

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

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro 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.

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; and to (pTEXTZONE) if case the zone type is text.

Comments

This structure is used by the following function:

LBitmap::AutoZone