ImageGear for C and C++ on Windows v19.1 - Updated
IG_ARTX_freeline_create
API Reference Guide > ArtX Component API Reference > ArtX Component Objects Reference > HIG_ARTX_FREELINE > IG_ARTX_freeline_create

This function creates an instance of freeline mark (IG_ARTX_MARK_FREEHAND_LINE).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_ARTX_freeline_create(
        LPAT_POINT lpPoints,
        AT_DWORD nPointCount,
        LPAT_ARTX_BORDER pLine,
        AT_BOOL bClosed,
        AT_BOOL bHighlight,
        LPHIG_ARTX_FREELINE lphMark
);

Arguments:

Name Type Description
lpPoints LPAT_POINT Array of annotation points.
nPointCount AT_DWORD Number of elements in lpPoints array.
pLine LPAT_ARTX_BORDER Attributes of line used to draw annotation.
bClosed AT_BOOL Indicates whether the freeline is closed.
bHighlight AT_BOOL Indicates whether the annotation is highlighted.
lphMark LPHIG_ARTX_FREELINE Pointer to storage for new annotation handle.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Upon successful completion: