MoveLayer
bool MoveLayer(this CompoundStructure cs, int fromIndex, int toIndex)Moves a layer from one index to another.
Parameters
- csCompoundStructure
The compound structure.
- fromIndexint
Source index.
- toIndexint
Destination index.
Returns: True if successful; otherwise false.
Example
cs.MoveLayer(3, 1);