formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_ctab_resize

Description

Changes the number of color entries in the color table. This will resize the color table to hold the number of color specified. If the number of colors is larger than the current table size, that new colors are added to the end and the colors are not initialized. If the number of colors is less than the current, the colors at the end of the table are removed.

Plugin Prototype

fzrt_error_td fzrt_ctab_resize(

fzrt_color_table_ptr

ctab,

short

num_colors )

Parameters

ctab [Input]

color table pointer

num_colors [Input]

new number of colors in table

Returns

error ID, FZRT_NOERR if successful

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset


Defined in

fzrt_api.h