LEADTOOLS Image File Support (Leadtools.Codecs assembly)

SetPalette Method (CodecsLoadInformationEventArgs)

Show in webframe







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.
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
)
-(void)setPalette:(NSArray*)value;
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

See Also

Reference

CodecsLoadInformationEventArgs Class
CodecsLoadInformationEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.