public PropertiesGraphicsPolyLine(GraphicsPolyLine polyLine) { if (polyLine == null) { throw new ArgumentNullException("polyLine"); } points = polyLine.GetPoints(); lineWidth = polyLine.LineWidth; objectColor = polyLine.ObjectColor; actualScale = polyLine.ActualScale; ID = polyLine.Id; selected = polyLine.IsSelected; }
public PropertiesGraphicsPolyLine(GraphicsPolyLine polyLine) { if (polyLine == null) { throw new ArgumentNullException("polyLine"); } this.points = polyLine.GetPoints(); this.lineWidth = polyLine.LineWidth; this.objectColor = polyLine.ObjectColor; this.actualScale = polyLine.ActualScale; this.ID = polyLine.Id; this.selected = polyLine.IsSelected; this.layer = polyLine.Layer; this.page = polyLine.Page; this.reportContent = polyLine.ReportContent; this.reporter = polyLine.Reporter; this.reportDate = polyLine.ReportDate; }