GetPageSystemInfo
Get page system information.
BOOL GetPageSystemInfo( PageSystemInfo * pInfo )
Returns TRUE on success and FALSE on failure.
EX1
// Get page system information void PageBase_GetPageSystemInfo_ex1() { PageBase pb = Project.Pages(); if( !pb ) printf("none page in current project.\n"); PageSystemInfo PgInfo; if( pb.GetPageSystemInfo(&PgInfo) ) { printf("Create date is %s.\n", get_date_str(PgInfo.dCreated)); printf("Modified data is %s.\n",get_date_str(PgInfo.dModified)); printf("Page size is %d.\n", PgInfo.nSize); printf("This page dependents to %d other pages.\n", PgInfo.nDependents); } else printf("Fail to system info from this page.\n"); }
Get page system information such as page creation, last modified time, size, and number of dependents.
origin.h