ImageGear for C and C++ on Linux v18.8 - Updated
IG_PDE_content_add_element
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_CONTENT > IG_PDE_content_add_element

Inserts an element into content.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_content_add_element(
        HIG_PDE_CONTENT hContent,
        LONG nAfterIndex,
        HIG_PDE_ELEMENT hElement
);

Arguments:

Name Type Description
hContent HIG_PDE_CONTENT Content to which hElement is added.
nAfterIndex LONG Location after which hElement is added. Should be IG_PDE_BEFORE_FIRST to add to the beginning of the display list.
hElement HIG_PDE_ELEMENT The element to add to the content.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.