Decides if there are any not iterated elements in the VectorImage through this iterator.

GSErrCode SetSorting (
    GS::CmpFunction*    cmpFunction


The relation which defines the sorting order.

Return value

If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.


The prototype for the CmpFunction looks like this (It is the usual compare function from the ANSI C):

typedef    int CCALL  CmpFunction (const void*, const void*);
The two void* parameters will be pointers to ConstVectorImageIterator::SortRecords.


Version: API 10.0 or later, ModelerGraphics 8 or later
Library: ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
Header: VectorImageIterator.hpp