프로젝트

일반

사용자정보

개정판 b2d0f316

IDb2d0f316125ad5439e7530cf5ec796805b5d1dd4
상위 ff2f8d1d
하위 5c3caba6

백흠경이(가) 5달 전에 추가함

Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가

Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89

차이점 보기:

MarkupToPDF/Controls/Cad/CoordinateControl.cs
598 598
        /// <returns></returns>
599 599
        public override string Serialize()
600 600
        {
601
            using (S_CoordinateControl STemp = new S_CoordinateControl())
602
            {
603
                STemp.TransformPoint = "0|0";
604
                STemp.SizeSet = String.Format("{0}", this.LineSize);
605
                STemp.PaintState = this.Paint;
606
                STemp.PointSet = this.PointSet;
607
                //STemp.StrokeColor = "#FF00FF00";
608
                STemp.StrokeColor = this.StrokeColor.Color.ToString();
601
            using (S_CoordinateControl ctrl = new S_CoordinateControl())
602
            {
603
                ctrl.TransformPoint = "0|0";
604
                ctrl.SizeSet = String.Format("{0}", this.LineSize);
605
                ctrl.PaintState = this.Paint;
606
                ctrl.PointSet = this.PointSet;
607
                //ctrl.StrokeColor = "#FF00FF00";
608
                ctrl.StrokeColor = this.StrokeColor.Color.ToString();
609 609
                if (this.FillColor != null)
610 610
                {
611
                    STemp.FillColor = this.FillColor.Color.ToString();
611
                    ctrl.FillColor = this.FillColor.Color.ToString();
612 612
                }
613
                STemp.StartPoint = this.StartPoint;
614
                STemp.UserID = this.UserID;
615
                STemp.EndPoint = this.EndPoint;
616
                STemp.LB = this.LeftBottomPoint;
617
                STemp.TR = this.TopRightPoint;
618
                STemp.DashSize = this.DashSize;
619
                STemp.Opac = this.Opacity;
620
                STemp.Name = this.GetType().Name.ToString();
621
                STemp.Memo = this.Memo;
622

  
623
                return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize()));
613
                ctrl.StartPoint = this.StartPoint;
614
                ctrl.UserID = this.UserID;
615
                ctrl.EndPoint = this.EndPoint;
616
                ctrl.LB = this.LeftBottomPoint;
617
                ctrl.TR = this.TopRightPoint;
618
                ctrl.DashSize = this.DashSize;
619
                ctrl.Opac = this.Opacity;
620
                ctrl.Name = this.GetType().Name.ToString();
621
                ctrl.Memo = this.Memo;
622
                ctrl.ZIndex = this.ZIndex;
623

  
624
                return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize()));
624 625
            };
625 626
        }
626 627

  
......
649 650
                    PointSet = s.PointSet,
650 651
                    UserID = s.UserID,
651 652
                    //  FillColor = Brushes.Yellow,
652
                    Memo = s.Memo
653
                    Memo = s.Memo,
654
                    ZIndex = s.ZIndex
653 655
                };
654 656
            }
655 657
        }

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)