ImageGear for C and C++ on Windows v20.0 - Updated
IG_vect_polylineex_set_contour
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Extended Polyline Functions > IG_vect_polylineex_set_contour

This function sets the number of the active contour.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_polylineex_set_contour(
        HIG_VECT_ENTITY hEntity, 
        long nIndex
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
mIndex long Number of the active contour being set.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

IG_vect_polylineex_get_vertexcont() returns the active contour.

Is this page helpful?
Yes No
Thanks for your feedback.