LayerCreate creates a new diagram.
Return Value
hLayer identifies the newly created diagram.
Parameters
If hLayerOther is a valid layer object handle the functions creates a new object as a copy of the given object. If hLayerOther is set to 0 a layer object with default settings is created.
Example
hDoc = DocCreate();
hPage = PageCreate();
hLayer = LayerCreate();
DocAddPage(hDoc, hPage);
PageAddLayer(hPage, hLayer);
PageReplot(hPage);
History
| Version | Description |
|---|---|
| 5.7.0 | hLayerOther can be set to 0. |
| 4.2.7 | Function can be invoked with one parameter (copy constructor). The copy constructor will not copy datasets or drawing objects. |
See also
Overview Diagrams, PageCreate, PageAddLayer, PageReplot, DocCreate, ObjCopy, ObjSetName, ObjGetName
id-182331