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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8