개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Shape/RectCloudControl.cs | ||
---|---|---|
60 | 60 |
this.LineSize = rectCloudControl.LineSize; |
61 | 61 |
this.UserID = rectCloudControl.UserID; |
62 | 62 |
this.Memo = rectCloudControl.Memo; |
63 |
this.ZIndex = rectCloudControl.ZIndex; |
|
63 | 64 |
} |
64 | 65 |
} |
65 | 66 |
|
... | ... | |
664 | 665 |
/// <returns></returns> |
665 | 666 |
public override string Serialize() |
666 | 667 |
{ |
667 |
using (S_RectCloudControl STemp = new S_RectCloudControl())
|
|
668 |
using (S_RectCloudControl ctrl = new S_RectCloudControl())
|
|
668 | 669 |
{ |
669 |
STemp.TransformPoint = "0|0";
|
|
670 |
STemp.PointSet = this.PointSet;
|
|
671 |
STemp.SizeSet = String.Format("{0}", this.LineSize);
|
|
672 |
//STemp.StrokeColor = "#FF00FF00";
|
|
673 |
STemp.StrokeColor = this.StrokeColor.Color.ToString();
|
|
674 |
STemp.StartPoint = this.StartPoint;
|
|
675 |
STemp.UserID = this.UserID;
|
|
676 |
STemp.Opac = this.Opacity;
|
|
677 |
STemp.TR = this.TopRightPoint;
|
|
678 |
STemp.LB = this.LeftBottomPoint;
|
|
679 |
STemp.EndPoint = this.EndPoint;
|
|
680 |
STemp.PaintState = this.Paint;
|
|
681 |
STemp.DashSize = this.DashSize;
|
|
682 |
STemp.ArcLength = this.ArcLength;
|
|
683 |
STemp.Name = this.GetType().Name.ToString();
|
|
670 |
ctrl.TransformPoint = "0|0";
|
|
671 |
ctrl.PointSet = this.PointSet;
|
|
672 |
ctrl.SizeSet = String.Format("{0}", this.LineSize);
|
|
673 |
//ctrl.StrokeColor = "#FF00FF00";
|
|
674 |
ctrl.StrokeColor = this.StrokeColor.Color.ToString();
|
|
675 |
ctrl.StartPoint = this.StartPoint;
|
|
676 |
ctrl.UserID = this.UserID;
|
|
677 |
ctrl.Opac = this.Opacity;
|
|
678 |
ctrl.TR = this.TopRightPoint;
|
|
679 |
ctrl.LB = this.LeftBottomPoint;
|
|
680 |
ctrl.EndPoint = this.EndPoint;
|
|
681 |
ctrl.PaintState = this.Paint;
|
|
682 |
ctrl.DashSize = this.DashSize;
|
|
683 |
ctrl.ArcLength = this.ArcLength;
|
|
684 |
ctrl.Name = this.GetType().Name.ToString();
|
|
684 | 685 |
///강인구 추가(2017.11.02) |
685 | 686 |
///Memo 추가 |
686 |
STemp.Memo = this.Memo;
|
|
687 |
ctrl.Memo = this.Memo;
|
|
687 | 688 |
|
688 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
689 |
ctrl.ZIndex = this.ZIndex; |
|
690 |
|
|
691 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
689 | 692 |
} |
690 | 693 |
} |
691 | 694 |
|
... | ... | |
713 | 716 |
ArcLength = s.ArcLength, |
714 | 717 |
LineSize = Convert.ToDouble(data2.First()), |
715 | 718 |
UserID = s.UserID, |
716 |
Memo = s.Memo |
|
719 |
Memo = s.Memo, |
|
720 |
ZIndex = s.ZIndex |
|
717 | 721 |
}; |
718 | 722 |
} |
719 | 723 |
} |
내보내기 Unified diff