LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

SetPalette Method (CodecsLoadInformationEventArgs)






An array of Leadtools.RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.
Sets the palette for uncompressed data that is 8 bits per pixel or less. .NET support WinRT support Silverlight support
Syntax
public void SetPalette( 
   RasterColor[] palette
)
'Declaration
 
Public Sub SetPalette( _
   ByVal palette() As RasterColor _
) 
'Usage
 
Dim instance As CodecsLoadInformationEventArgs
Dim palette() As RasterColor
 
instance.SetPalette(palette)
public void SetPalette( 
   RasterColor[] palette
)
 function Leadtools.Codecs.CodecsLoadInformationEventArgs.SetPalette( 
   palette 
)
public:
void SetPalette( 
   array<RasterColor>^ palette
) 

Parameters

palette
An array of Leadtools.RasterColor object that represents the palette for uncompressed data that is 8 bits per pixel or less.
Remarks
Fill in the first 1 >> BitsPerPixel entries in this palette.
Example
For an example, refer to RasterCodecs.LoadInformation.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsLoadInformationEventArgs Class
CodecsLoadInformationEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.