【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.13.11 Folder::GetIndexInPageAndShortcuts
Contents
Description
Get page index in folder.
Syntax
int GetIndexInPageAndShortcuts( PageBase& pb )
Parameters
- pb
- [input] the page which want to get index.
Return
return page Index in folder(include page and page shortcut)
Examples
EX1
void GetIndex_Ex1() { Folder fld = Project.ActiveFolder(); if(fld.IsValid()) { PageBase pb; pb = Project.Pages(); int nIndex = fld.GetIndexInPageAndShortcuts(pb); printf("The Index of Current page is: %d", nIndex); return; } printf("there is no active folder in current project"); }
Remark
See Also
OriginC:Folder::PagesAndShortcuts
Header to Included
origin.h