【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.14.1.20 page_active_layer_index
Contents
Description
Get the active layer number from the given page, if page is not the active window, then return -1
Syntax
int page_active_layer_index( Page & pg )
Parameters
- pg
- [input] the page to get the layer number
Return
0-offset layer number if given page is the active window, otherwise return -1
Examples
EX1
//For this example to run, make sure a graph page named "Graph1" exist in the project. void Run_page_active_layer_index() { GraphPage gp("Graph1"); int nIndex = page_active_layer_index(gp); }
Remark
See Also
Header to Include
origin.h