ImageGear for C and C++ on Windows v19.1 - Updated
IG_PDE_path_set_data
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_PATH > IG_PDE_path_set_data

Sets new path data for a path element.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_path_set_data(
        HIG_PDE_PATH hPath,
        LPLONG lpData, 
        LONG nDataSize 
);

Arguments:

Name Type Description
hPath HIG_PDE_PATH The path whose data is set.
lpData LPLONG Pointer to path data. It is a variable-sized array of path operators and operands. The format is a 32-bit operator followed by 0 to 3 AT_PDF_FIXEDPOINT values, depending on the operator. Operators are codes for moveto, lineto, curveto, rect, or closepath operators and must be one of enumIGPDEPathElementType. Operands are AT_PDF_FIXEDPOINT values. The data is copied into hPath object.
nDataSize LONG Size of the new path data, in bytes.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.