【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.34.7 PageBase::GetPageInfo
Contents
Description
Get property info of pagebase, such as size, type, location etc. For details see tagPropertyInfo in file OC_TYPES.H
Syntax
BOOL GetPageInfo( PropertyInfo & stPgInfo )
Parameters
- stPgInfo
- [output] the property info of pagebase.
Return
Returns TRUE on success and FALSE on failure.
Examples
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."); }
Remark
See Also
Header to Included
origin.h