Accusoft ImagXpress 13
DIBSetPalIndex Method

The palette index within the image.

Valid values are greater than or equal to zero.

The RGB color value of the palette index.

Note: Value specified must be in a valid OLE_COLOR range.

Description
Sets an RGB value for a palette entry in the current DIB.
Syntax
Visual Basic
Public Sub DIBSetPalIndex( _
   ByVal IPPalIndex As Integer, _
   ByVal OPPalColor As OLE_COLOR _
) 
Parameters
IPPalIndex

The palette index within the image.

Valid values are greater than or equal to zero.

OPPalColor

The RGB color value of the palette index.

Note: Value specified must be in a valid OLE_COLOR range.

Remarks

The result of this method cannot be undone with the Undo method.

Example
The following Visual Basic line of code illustrates how to use the DIBSetPalIndex method: The following Visual Basic line of code illustrates how to use the DIBSetPalIndex method.
ImagXpress1.DibSetPalIndex10,RGB(255,0,0)
See Also

ImagXpress Object  | ImagXpress Members  | DIBGetPalIndex Method

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback