【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.34.13 PageBase::GetType
Contents
Description
Get the page type of a Page object.
Syntax
int GetType( )
Parameters
Return
Returns an integer value representing the page type. See the EXIST constants defined in oc_const.h, they are:
EXIST_WKS 2
EXIST_PLOT 3
EXIST_MATRIX 5
EXIST_LAYOUT 11
EXIST_EXTERN_WKS 12 (Excel workbook)
Examples
EX1
int PageBase_GetType_ex1() { PageBase pbTemp; pbTemp = Project.Pages(); // Get the project's active page if( pbTemp.IsValid() ) printf("Active page is of type %d\n", pbTemp.GetType()); else printf("Active page is not valid\n"); return 0; }
Remark
See Also
Header to Include
origin.h