PageAddLayerΒΆ

PageAddLayer adds one or more layers (diagrams) to the given page.

bool = PageAddLayer(hPage, hvLayer)

Return Value

If the function succeeds, the return value bool is TRUE (1); otherwise it is FALSE (0).

Parameters

hPage

Identifies the page.

hvLayer

hvLayer is a vector with layer handles.

Example

hDoc = DocCreate()
hPage = PageCreate()
DocAddPage(hDoc, hPage)
hLayer = LayerCreate()
PageAddLayer(hPage, hLayer)
PageReplot(hPage)

id-2004703