Tao.DevIl SDK Documentation

Il.ilLoadPal Method 

ilLoadPal simply loads a palette from the file specified by FileName into the current bound image's palette. If the current bound image is not of type IL_COLOR_INDEX, the palette is not used, but it is loaded nonetheless. ilLoadPal can load .col, Halo and Jasc PSP palette files.

[Visual Basic]
Public Shared Function ilLoadPal( _
   ByVal FileName As String _
) As Boolean
[C#]
public static bool ilLoadPal(
   string FileName
);

Parameters

FileName
Filename to load the palette data from.

Return Value

See Also

Il Class | Tao.DevIl Namespace