GetFolder
Get the Project Explorer folder where the page is located.
Folder GetFolder( )
Returns a valid Folder object on success and a NULL object on failure.
EX1
//Get the folder where the current page is located void PageBase_GetFolder_ex1() { PageBase pb = Project.Pages(); if( pb ) { Folder fd = pb.GetFolder(); if( fd ) printf("%s is at %s\n", pb.GetName(), fd.GetPath()); else printf("Error: %s is not in any folder, impossible!\n", pb.GetName()); } }
DataRange::GetName
origin.h