Accusoft ImagXpress 12
PRGBSetColors Method
See Also  Send comments on this topic.
Index

The minimum index is 0.

The maximum index is 255.

newVal
The RGB value for that palette location.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : PRGBSetColors Method

Glossary Item Box

Description

Sets the colors in a user defined palette for the control.

Syntax

Visual Basic
Public Sub PRGBSetColors( _
   ByVal Index As Integer, _
   ByVal newVal As Long _
) 

Parameters

Index

The minimum index is 0.

The maximum index is 255.

newVal
The RGB value for that palette location.

Remarks

When the Palette property is 4 - User Defined, palettized images (8-bits per pixel or less) loaded will be displayed using the palette defined by this method.

See Also

©2013. Accusoft Corporation. All Rights Reserved.