Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CheckBoxPicture Dim index As Integer Dim value As Image instance.Item(index) = value value = instance.Item(index) |
Parameters
- index
- Integer representing one of the available check box states
Property Value
Image object containing the pictureUse this method if you want to specify the index for the picture to display using an integer. Use the Item(CheckBoxPictureIndex) method if you want to specify the index using the CheckBoxPictureIndex enumeration.
The integer values you can use to specify the index are zero through eight, representing the enumerations provided by the CheckBoxPictureIndex enumeration.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2