ImageGear Professional DLL v18.1 for Windows
IG_vect_geom_get_pointcount
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Geometry Functions > IG_vect_geom_get_pointcount

Glossary Item Box

The function returns the total point count of the geometry.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_geom_get_pointcount(
        HIG_VECT_ENTITY hEntity, 
        long* lpPointCount
);

Arguments:

Name Type Description
hEntity HIG_VECT_ENTITY Geometry entity handle.
lpPointCount long* Buffer for the point count of the geometry.

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:

The return value is also corresponds to the color count and (or) normal count if the arguments bUseColors and/or bUseNormals of IG_vect_geom_init() was set to VECT_TRUE.

©2014. Accusoft Corporation. All Rights Reserved.