C#
VB
Objective-C
C++
Creates an array of RasterColor objects that represent the LEAD Fixed palette.
public static RasterColor[] Fixed(
int count
)
Public Shared Function Fixed( _
ByVal count As Integer _
) As Leadtools.RasterColor()
+(NSArray*)fixed:(unsigned int)count;
public:
static Leadtools.array<RasterColor>^ Fixed(
int count
)
count
The number of colors to add to the fixed palette.
The LEAD Fixed palette.
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. |
For an example, refer to StartDithering
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET