2.2.4.13.14 Folder::GetPath

Description

Return full path of active folder as string

Syntax

string GetPath(BOOL bTrimRoot = FALSE)

Parameters

bTrimRoot
[input] Indicates whether or not the root folder name should be removed.

Return

Returns the full folder path as a string

Examples

EX1

// Get full path of active folder as string
void    Folder_GetPath_Ex1()
{
    Folder fld = Project.ActiveFolder();
    printf("The path of Current folder is: %s", fld.GetPath());
}

Remark

Get the full path of the folder.

See Also

Header to Include

origin.h