ImageMan ActiveX Control Version 8
Green Property
See Also  Send comments on this topic.
index
Specifies the index of the palette entry to Get/Set.

Glossary Item Box

Description

Returns/sets the green value for a color entry in the image's palette.

Property type

Read-write property

Syntax

Visual Basic
Public Property Green( _
   ByVal index As Integer _
) As Long

Parameters

index
Specifies the index of the palette entry to Get/Set.

Remarks

Use this property along with the Red and Blue properties to change the colors in palettized  images. After changing these properties you must call the Refresh method to redraw the image with the new colors. The Index value must be between 0 and the value of the PaletteEntries property. The allowable values for the property are 0 to 255.

See Also

© 2014 Data Techniques Inc. All Rights Reserved.