ImageGear for C and C++ on Linux v19.10 - Updated
IG_PDE_clip_add_element
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_CLIP > IG_PDE_clip_add_element

Adds an element to a clip path.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_clip_add_element(
        HIG_PDE_CLIP hClip,
        LONG nAfterIndex,
        HIG_PDE_ELEMENT hElement
);

Arguments:

Name Type Description
hClip HIG_PDE_CLIP The clip path to which an element is added.
nAfterIndex LONG The index after which to add hElement. Use IG_PDE_BEFORE_FIRST to insert an element at the beginning of the clip object.
hElement HIG_PDE_ELEMENT The element added, which may be a PDE Path, a PDE Text, a PDE Container, a PDE Group or a PDE Place object.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.