ImageGear for C and C++ on Windows v19.7 - Updated
IG_PDF_bookmark_set_color
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_BOOKMARK > IG_PDF_bookmark_set_color

Sets hBookmark's color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_bookmark_set_color(
        HIG_PDF_BOOKMARK hBookmark,
        LPAT_PDF_COLORVALUE lpBookmarkColor
);

Arguments:

Name Type Description
hBookmark HIG_PDF_BOOKMARK The bookmark whose color is set.
lpBookmarkColor LPAT_PDF_COLORVALUE The bookmark's color to set. Must be in IG_PDF_DEVICE_RGB.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.