ImageGear for C and C++ on Windows v19.6 - Updated
IG_ARTX_polyline_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_POLYLINE > IG_ARTX_polyline_create

This function creates Polyline mark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_polyline_create(
        LPAT_POINT lpPoints,
        AT_INT nNumOfPoints,
        LPAT_ARTX_BORDER pLine,
        LPAT_ARTX_ARROW_HEAD lpStartHead,
        LPAT_ARTX_ARROW_HEAD lpEndHead,
        LPAT_RGBQUAD pHeadFillColor,
        AT_BOOL bClosed,
        AT_INT nOpacity,
        LPHIG_ARTX_POLYLINE lphMark
);

Arguments:

Name Type Description
lpPoints LPAT_POINT Array of the mark's points.
nNumOfPoints AT_INT Number of the mark's points.
pLine LPAT_ARTX_BORDER Line attributes.
lpStartHead LPAT_ARTX_ARROW_HEAD Start head of the mark.
lpEndHead LPAT_ARTX_ARROW_HEAD End head of the mark.
pHeadFillColor LPAT_RGBQUAD Arrow head fill color.
bClosed AT_BOOL Closed attribute.
nOpacity AT_INT Opacity of the mark.
lphMark LPHIG_ARTX_POLYLINE Pointer to the created mark.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: