typedef struct _LEADZONE 
   L_UINT uStructSize; 
   L_UINT uIndex; 
   L_UINT uZoneType; 
   RECT rcLocation; 
   L_VOID * pZoneData; 

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() 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.


This structure is used by the following function:


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

LEADTOOLS Raster Imaging C++ Class Library Help