2.1.14.3.20 page_get_layer_numbers

Description

Builds a list of the layer numbers in the active graph. The list is returned as a series of tokens separated by the | character. The active layer number is also returned.

Syntax

int page_get_layer_numbers( string & strLayerNumbers )

Parameters

strLayerNumbers
[output] the list of layer numbers, separated by '|' if more than one layers in the active GraphPage

Return

Returns a list of the layer numbers in the active graph as a series of tokens

separated by the | character. The layer number of the active layer is returned

on success and -1 is returned on failure.

Examples

EX1

void page_get_layer_numbers_ex1()
{
string str;
int iActive;
iActive = page_get_layer_numbers(str);
}