LayerMoveDatasetΒΆ
LayerMoveDataset moves datasets to the specified diagram. Datasets can only be moved inside a page. The function can also be used to change the drawing order of datasets.
-
bool = LayerMoveDataset(hLayer, hvData)
-
bool = LayerMoveDataset(hLayer, hvData, bTail)
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
-
hLayer
Identifies the layer.
-
hvData
hvData is a vector with dataset handles.
-
bTail
If bTail is TRUE (1), the dataset is added to the end of the list. If bTail is FALSE (0), the dataset is inserted at the beginning of the list. Default value is TRUE (1).
History
Version | Description |
---|---|
4.2.4 | Order changed. The function call
LayerMoveDataset(hLayer, LayerGetAllDatasets(hLayer)) does not alter
the drawing order. Before that change the order was reversed. |
4.2.0 | New |
See also
Overview Diagrams, LayerCreate, XYCreate, XYZCreate, LayerAddObjects, LayerAddDataset
id-390862