ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_bookmark_add_new_child
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.

Declaration:

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

Arguments:

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.

Remarks:

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