Accusoft.ImagXpress13.Net
SetPaletteColor Method




An integer value which represents the index into the palette table. The minimum index is 0 and the maximum index is 255.
A System.Drawing.Color value for that palette location.
Specifies the colors for a user defined palette for the control.
Syntax
'Declaration
 
Public Sub SetPaletteColor( _
   ByVal Index As Integer, _
   ByVal color As Color _
) 
'Usage
 
Dim instance As ImageXView
Dim Index As Integer
Dim color As Color
 
instance.SetPaletteColor(Index, color)
public void SetPaletteColor( 
   int Index,
   Color color
)
public: void SetPaletteColor( 
   int Index,
   Color color
) 
public:
void SetPaletteColor( 
   int Index,
   Color color
) 

Parameters

Index
An integer value which represents the index into the palette table. The minimum index is 0 and the maximum index is 255.
color
A System.Drawing.Color value for that palette location.
Remarks

When the PaletteType property is set as PaletteType.UserDefined, images displayed during palettized display will use the palette defined by this method.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback