ImageGear for C and C++ on Windows v19.10 - Updated
IG_ARTX_line_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_LINE > IG_ARTX_line_create

This function creates the Line mark.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_line_create(
        LPAT_POINT lpStartPoint,
        LPAT_POINT lpEndPoint,
        LPAT_ARTX_BORDER pLine,
        LPAT_ARTX_ARROW_HEAD lpStartHead,
        LPAT_ARTX_ARROW_HEAD lpEndHead,
        LPAT_RGBQUAD pHeadFillColor,
        AT_INT nOpacity,
        LPHIG_ARTX_POLYLINE lphMark
);

Arguments:

Name Type Description
lpStartPoint LPAT_POINT Start point of the line.
lpEndPoint LPAT_POINT End point of the line.
pLine LPAT_ARTX_BORDER Line attributes.
lpStartHead LPAT_ARTX_ARROW_HEAD Start head of the line.
lpEndHead LPAT_ARTX_ARROW_HEAD End head of the line.
pHeadFillColor LPAT_RGBQUAD Arrow head fill color.
nOpacity AT_INT Opacity of the line.
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: