C++ // Sort by decreasing area Blobs.SortObjectsUsingFeature(OBJ_AREA, OBJ_SORT_DESCENDING); // Enumerate objects, using a list pointer EListItem* pObject; // Start at the beginning of the list pObject= Blobs.GetFirstObjPtr(); // Loop on the selected objects for (Count= 0; Count < Blobs.GetNumSelectedObjects(); Count++) { // Retrieve object area Blobs.GetObjectFeature(OBJ_AREA, pObject, n32Area); // Process object area ... // Next object pObject= Blobs.GetNextObjPtr(pObject); }