ImageGear for C and C++ on Windows v19.10 - Updated
IG_colorbook_create
API Reference Guide > Core Component API Reference > Core Component Functions Reference > ColorBook Functions > IG_colorbook_create

This function creates a new ColorBook from the specified parameters.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbook_create(
        enumIGSpotColorVendorIDs VendorID,
        LPCHAR lpTitle,
        enumIGColorSpaceIDs ColorType,
        HIGCOLORBOOK* lphColorBook
);

Arguments:

Name Type Description
VendorID enumIGSpotColorVendorIDs Vendor ID of the new ColorBook.
lpTitle LPCHAR Title of the new ColorBook.
ColorType enumIGColorSpaceIDs Color space of new ColorBook.
lphColorBook HIGCOLORBOOK* Created ColorBook.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.