ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_BOOKMARK > IG_PDF_bookmark_add_new_child

Adds a new bookmark to the tree containing hBookmark as the new last child of hBookmark.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_bookmark_add_new_child(
        HIG_PDF_BOOKMARK hBookmark,
        LPSTR lpszInitialText,
        LPHIG_PDF_BOOKMARK lphChildBookmark


Name Type Description
hBookmark HIG_PDF_BOOKMARK The bookmark to which a new last child is added.
lpszInitialText LPSTR The new bookmark's title.
lphChildBookmark LPHIG_PDF_BOOKMARK The newly created bookmark.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.


If hBookmark previously had no children, it will be open after the child is added.

Is this page helpful?
Yes No
Thanks for your feedback.