ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDF_bookmark_set_open
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_BOOKMARK > IG_PDF_bookmark_set_open

Opens or closes a bookmark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_bookmark_set_open(
        HIG_PDF_BOOKMARK hBookmark,
        AT_PDF_BOOL bIsOpen
);

Arguments:

Name Type Description
hBookmark HIG_PDF_BOOKMARK The bookmark to open or close.
bIsOpen AT_PDF_BOOL TRUE if the bookmark is opened; FALSE if the bookmark is closed.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

An open bookmark shows its children, while a closed bookmark does not.