ImageGear for C and C++ on Linux v20.0 - Updated
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.


Copy Code
        HIG_PDE_PATH hPath,
        LPLONG lpData, 
        LONG nDataSize 


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.

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