Example #1
0
        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;
        }
Example #2
0
        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;
        }