프로젝트

일반

사용자정보

개정판 b2d0f316

IDb2d0f316125ad5439e7530cf5ec796805b5d1dd4
상위 ff2f8d1d
하위 5c3caba6

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

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

Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89

차이점 보기:

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

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

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

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

내보내기 Unified diff

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