<< Click to Display Table of Contents >> NShape Reference
|
Makes the shape visible within the given layer(s).
Obsolete since NShape 2.3 |
Available since NShape 2.3 |
public void AddShapeToLayers(Shape shape, int homeLayer) |
public void AddShapeToLayers(Shape shape, int homeLayer, LayerIds supplementalLayers) |
The function assumes that the shape is part of the diagram and that the diagram includes a layer with the given id. If the layer does not exist, an exception is thrown. If the shape is not in the diagram, the result is unspecified. If the shape is already in the layer, nothing happens.