LEADTOOLS (Leadtools assembly)
LEAD Technologies, Inc

Fixed Method






The number of colors to add to the fixed palette.
Creates an array of RasterColor objects that represent the LEAD Fixed palette. .NET support Silverlight support
Syntax
public static RasterColor[] Fixed( 
   int count
)
'Declaration
 
Public Shared Function Fixed( _
   ByVal count As Integer _
) As RasterColor()
'Usage
 
Dim count As Integer
Dim value() As RasterColor
 
value = RasterPalette.Fixed(count)
public static RasterColor[] Fixed( 
   int count
)
 function Leadtools.RasterPalette.Fixed( 
   count 
)
public:
static array<RasterColor>^ Fixed( 
   int count
) 

Parameters

count
The number of colors to add to the fixed palette.

Return Value

The LEAD Fixed palette.
Remarks
The number of colors specified in count controls the type and size of the returned palette:
count LEAD Fixed palette
2 1-bit palette, with 2 colors, black and white.
4 2-bit palette, with 4 colors.
8 3-bit palette, with 8 colors.
16 4-bit palette, with 16 colors.
32 5-bit palette, with 32 colors.
64 6-bit palette, with 64 colors.
128 7-bit palette, with 128 colors.
256 8-bit palette, with 256 colors.
Example
For an example, refer to StartDithering
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

RasterPalette Class
RasterPalette Members

 

 


Products | Support | Contact Us | Copyright Notices

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