ItemsCount property (LEADDlgColor Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

L_UINT ItemsCount

Delphi Syntax

ItemsCount: L_UINT

Overview

Refer to Using Imaging Common Dialogs.

Remarks

Gets or sets the number of bitmaps in the ItemBitmap property. The ItemBitmap property contains the bitmaps associated with the "Available List' in the Halftone dialog box

You have to set this property to the number of elements you want to include in the "Available List" in the Halftone dialog box before you set any other item properties (ItemBitmap property, ItemDescription property, and ItemFileName property).

Setting this property to 0 will clear the old ItemBitmap property, ItemDescription property and ItemFileName property settings. This will also hide the user defined halftone and its related controls.

See Also

Elements:

ShowHalftoneDlg method, Angle property, Dimension property, HalftoneType property, ItemDescription property, ItemFileName property, ItemBitmap property, SelectedBitmapList property

Topics:

Imaging Common Dialogs: Properties, Methods, and Events