Accusoft.ImagXpress13.Net
GetPaletteColor Method




An integer value which represents the index into the palette table. The minimum index is 0, the maximum Index is 255.
Retrieves the colors for a user defined palette for the control.
Syntax
'Declaration
 
Public Function GetPaletteColor( _
   ByVal Index As Integer _
) As Color
'Usage
 
Dim instance As ImageXView
Dim Index As Integer
Dim value As Color
 
value = instance.GetPaletteColor(Index)
public Color GetPaletteColor( 
   int Index
)
public: Color GetPaletteColor( 
   int Index
) 
public:
Color GetPaletteColor( 
   int Index
) 

Parameters

Index
An integer value which represents the index into the palette table. The minimum index is 0, the maximum Index is 255.

Return Value

A System.Drawing.Color value for that palette location.
Remarks

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

Valid values are 0 to 255.

See Also

Reference

ImageXView Class
ImageXView Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback