프로젝트

일반

사용자정보

개정판 b2d0f316

IDb2d0f316125ad5439e7530cf5ec796805b5d1dd4
상위 ff2f8d1d
하위 5c3caba6

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

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

Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89

차이점 보기:

MarkupToPDF/Controls/Polygon/CloudControl.cs
59 59
                this.StartPoint = new Point(item.StartPoint.X, item.StartPoint.Y);
60 60
                this.EndPoint = new Point(item.EndPoint.X, item.EndPoint.Y);
61 61
                this.Memo = item.Memo;
62
                this.ZIndex = item.ZIndex;
62 63
            }
63 64
        }
64 65

  
......
1116 1117
        /// <returns></returns>
1117 1118
        public override string Serialize()
1118 1119
        {
1119
            using (S_CloudControl STemp = new S_CloudControl())
1120
            using (S_CloudControl ctrl = new S_CloudControl())
1120 1121
            {
1121
                STemp.TransformPoint = "0|0";
1122
                STemp.SizeSet = String.Format("{0}", this.LineSize);
1123
                //STemp.StrokeColor = "#FF000FFF";
1124
                STemp.StrokeColor = this.StrokeColor.Color.ToString();
1125
                STemp.Name = this.GetType().Name.ToString();
1126
                STemp.Toler = this.Toler;
1127
                STemp.PaintState = this.Paint;
1128
                STemp.Opac = this.Opacity;
1129
                STemp.UserID = this.UserID;
1130
                STemp.IsTrans = this.isTransOn;
1131
                STemp.IsChain = this.isChain;
1132
                STemp.PointSet = new List<Point>();
1133
                STemp.DashSize = this.DashSize;
1134
                STemp.StartPoint = this.StartPoint;
1135
                STemp.EndPoint = this.EndPoint;
1136
                STemp.ArcLength = this.ArcLength;
1122
                ctrl.TransformPoint = "0|0";
1123
                ctrl.SizeSet = String.Format("{0}", this.LineSize);
1124
                //ctrl.StrokeColor = "#FF000FFF";
1125
                ctrl.StrokeColor = this.StrokeColor.Color.ToString();
1126
                ctrl.Name = this.GetType().Name.ToString();
1127
                ctrl.Toler = this.Toler;
1128
                ctrl.PaintState = this.Paint;
1129
                ctrl.Opac = this.Opacity;
1130
                ctrl.UserID = this.UserID;
1131
                ctrl.IsTrans = this.isTransOn;
1132
                ctrl.IsChain = this.isChain;
1133
                ctrl.PointSet = new List<Point>();
1134
                ctrl.DashSize = this.DashSize;
1135
                ctrl.StartPoint = this.StartPoint;
1136
                ctrl.EndPoint = this.EndPoint;
1137
                ctrl.ArcLength = this.ArcLength;
1137 1138
                foreach (var point in this.PointSet)
1138 1139
                {
1139
                    STemp.PointSet.Add(point);
1140
                    ctrl.PointSet.Add(point);
1140 1141
                }
1141 1142

  
1142
                //STemp.CloudFill = this.Fill;
1143
                STemp.ArcLength = this.ArcLength;
1143
                //ctrl.CloudFill = this.Fill;
1144
                ctrl.ArcLength = this.ArcLength;
1144 1145
                ///강인구 추가(2017.11.02)
1145 1146
                ///Memo 추가
1146
                STemp.Memo = this.Memo;
1147
                ctrl.Memo = this.Memo;
1147 1148

  
1148
                return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize()));
1149
                ctrl.ZIndex = this.ZIndex;
1150

  
1151
                return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize()));
1149 1152
            }
1150 1153
        }
1151 1154

  
......
1176 1179

  
1177 1180
                    StartPoint = s.StartPoint,
1178 1181
                    EndPoint = s.EndPoint,
1179
                    Memo = s.Memo
1182
                    Memo = s.Memo,
1183
                    ZIndex = s.ZIndex
1180 1184

  
1181 1185
                    //Fill = s.CloudFill,
1182 1186
                };

내보내기 Unified diff

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