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

Gets the size of the path data and, optionally, the path data.

Declaration:

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

Arguments:

Name Type Description
hPath HIG_PDE_PATH The path whose data is obtained.
lpData LPLONG Pointer to path data. If lpData is non-NULL, it contains 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. Opcodes are codes for moveto, lineto, curveto, rect, or closepath operators; operands are AT_PDF_FIXEDPOINT values. If data is NULL, the number of bytes required for data is returned in lpnLenght. 
Returns "raw" path data. If you want the points in page coordinates, concatenate the path data points with the PDE Element matrix obtained from IG_PDE_element_get_matrix.
nDataSize LONG Specifies the size of the buffer provided in data. If it is less than the length of the path data, the method copies datasize bytes.
lpnLength LPLONG Length of data of hPath.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.