Get property info of pagebase, such as size, type, location etc. For details see tagPropertyInfo in file OC_TYPES.H
BOOL GetPageInfo( PropertyInfo & stPgInfo )
Returns TRUE on success and FALSE on failure.
EX1
void GetPageInfo_Ex1() { PageBase pb = Project.Pages(); if( !pb ) { printf("none page in current project.\n"); return; } PropertyInfo PgInfo; if( pb.GetPageInfo(PgInfo) ) printf("Location is %s.\n",PgInfo.szLocation); else printf("Fail to Get PageInfo."); }
origin.h