Accusoft ImagXpress 12
DIBSetPalIndex Method
See Also  Example  Send comments on this topic.
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.

AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : DIBSetPalIndex Method

Glossary Item Box

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.
VB example using DibSetPalIndex ( )Copy Code
ImagXpress1.DibSetPalIndex10,RGB(255,0,0)

See Also

©2013. Accusoft Corporation. All Rights Reserved.