2.2.4.38.4 Project::ActiveFolder

Description

Gets the active folder in the project.

Syntax

Folder ActiveFolder( )

Parameters

Return

the active Folder object.

Examples

EX1

// For this example to run, create a few folder in the project
// using Project Explorer. Make one of the new folders active.
void    run_Project_ActiveFolder()
{
    // Get the active folder:
    Folder        fld = Project.ActiveFolder();
    
    // Get the name:
    string        strName = fld.GetName();
    
    // Display the name:
    out_str(strName);
}

Remark

See Also

Project::ActiveCurveBase, Project::ActiveCurve, Project::ActiveLayer

Header to Include

origin.h