2.2.4.13.10 Folder::GetIndex


Description

Get index of calling folder object

Syntax

int GetIndex( )

Parameters

Return

return the Index of current object in collection which begin with 0.

Examples

EX1

void    GetIndex_Ex1()
{
    Folder fld = Project.ActiveFolder();
    if(fld.IsValid())
    {
        int iIndex=fld.GetIndex();
        printf("The Index of Current Folder is: %u", iIndex);
        return;
    }
    printf("there is no active folder in current project");
}

Remark

See Also

Header to Included

origin.h