formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics
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(
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
Defined in