【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.34.4 PageBase::GetFolder
Contents
Description
Get the Project Explorer folder where the page is located.
Syntax
Folder GetFolder( )
Parameters
Return
Returns a valid Folder object on success and a NULL object on failure.
Examples
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()); } }
Remark
See Also
Header to Include
origin.h