ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_NURBScurve_get_order
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > NURBS Curve Functions > IG_vect_NURBScurve_get_order

This function gets an order of the NURBS curve.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_NURBScurve_get_order(
        HIG_VECT_ENTITY hEntity, 
        long* lpOrder
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Handle to the Entity.
lpOrder long* Buffer for the NURBS order.

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:

Usually count of knots is equal to control_point_count |+ order. If this is not so, then knot vector is corrected.