LILITEMOPTION

typedef struct _LILITEMOPTION 
{ 
   L_UINT uStructSize; 
   L_UINT uVerticalSpacing; 
   L_UINT uHorizontalSpacing; 
   L_UINT uWidth; 
   L_UINT uHeight; 
   COLORREF crBackground; 
   L_BOOL bDisplayItemText; 
   COLORREF crForeground; 
   HFONT hFont; 
} LILITEMOPTION, * pLILITEMOPTION; 

The LILITEMOPTION structure contains information about item options.

Members

uStructSize

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

uVerticalSpacing

Vertical spacing between items. The unit of measure is pixels.

uHorizontalSpacing

Horizontal spacing between items. The unit of measure is pixels.

uWidth

Width of the item in pixels.

uHeight

Height of the item in pixels.

crBackground

Background color for the item.

bDisplayItemText

Flag that indicates whether or not to display the item's text. Possible values are:

Value Meaning
TRUE Display the item's text.
FALSE Do not display the item's text

crForeground

Color for the item's text.

hFont

Handle to the font to use for the item's text.

Comments

The following are default values:

Member Default value
uVerticalSpacing 5
uHorizontalSpacing 5
uWidth 80
uHeight 80
crBackground RGB(0,0,0)
bDisplayItemText TRUE
crForeground RGB(0,0,0)
hFont NULL

The structure is used by:

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

LEADTOOLS Raster Imaging C API Help

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