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
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_path_set_data( 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. |
Error count.
This function does not process image pixels.