Method Transfer
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Transfer(int, int, int)
Moves a run of the group's entities to another place in it, as AutoCAD's Transfer: the run of
numItems from fromIndex taken out and put back so that its first stands at
toIndex, the others keeping their order. A group of A, B, C, D given (0, 2, 2) is C, D, A, B.
public void Transfer(int fromIndex, int toIndex, int numItems)
Parameters
fromIndexintThe index of the run's first entity.
toIndexintThe index its first entity has afterwards, from 0 to NumEntities less the run's length.
numItemsintHow many entities the run has, nought or more.
Exceptions
- ArgumentOutOfRangeException
Thrown when the run is not within the group, or the place is not.
- InvalidOperationException
Thrown when the group is in no file, or is erased.