Clone

Namespace: Digi21.DigiNG.Entities
Assembly: Digi21.DigiNG

Returns a read/write copy of the line. The copy does not belong to any drawing file.

public new Line Clone()

Return value

A Line with this line's vertices, codes, Color, Weight, FillColor and Deleted. Data copied and not copied are described in Entity.Clone.

Example

// línea is a ReadOnlyLine read from a file.
var copia = línea.Clone();
copia.ChangeDirection();