개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Line/ArcControl.cs | ||
---|---|---|
649 | 649 |
/// <returns></returns> |
650 | 650 |
public override string Serialize() |
651 | 651 |
{ |
652 |
using (S_ArcControl STemp = new S_ArcControl())
|
|
653 |
{ |
|
654 |
STemp.TransformPoint = "0|0";
|
|
655 |
STemp.PointSet = this.PointSet;
|
|
656 |
STemp.SizeSet = String.Format("{0}", this.LineSize);
|
|
657 |
//STemp.StrokeColor = "#FF000FFF";
|
|
658 |
STemp.StrokeColor = this.StrokeColor.Color.ToString();
|
|
659 |
STemp.StartPoint = this.StartPoint;
|
|
660 |
STemp.UserID = this.UserID;
|
|
661 |
STemp.Opac = this.Opacity;
|
|
662 |
STemp.MidPoint = this.MidPoint;
|
|
663 |
STemp.EndPoint = this.EndPoint;
|
|
664 |
STemp.IsTransOn = this.isTransOn;
|
|
665 |
STemp.DashSize = this.DashSize;
|
|
666 |
STemp.Clock = this.Clock;
|
|
667 |
//STemp.ArcStyleSet = instance.ControlType;
|
|
668 |
STemp.Name = this.GetType().Name.ToString();
|
|
652 |
using (S_ArcControl ctrl = new S_ArcControl())
|
|
653 |
{ |
|
654 |
ctrl.TransformPoint = "0|0";
|
|
655 |
ctrl.PointSet = this.PointSet;
|
|
656 |
ctrl.SizeSet = String.Format("{0}", this.LineSize);
|
|
657 |
//ctrl.StrokeColor = "#FF000FFF";
|
|
658 |
ctrl.StrokeColor = this.StrokeColor.Color.ToString();
|
|
659 |
ctrl.StartPoint = this.StartPoint;
|
|
660 |
ctrl.UserID = this.UserID;
|
|
661 |
ctrl.Opac = this.Opacity;
|
|
662 |
ctrl.MidPoint = this.MidPoint;
|
|
663 |
ctrl.EndPoint = this.EndPoint;
|
|
664 |
ctrl.IsTransOn = this.isTransOn;
|
|
665 |
ctrl.DashSize = this.DashSize;
|
|
666 |
ctrl.Clock = this.Clock;
|
|
667 |
//ctrl.ArcStyleSet = instance.ControlType;
|
|
668 |
ctrl.Name = this.GetType().Name.ToString();
|
|
669 | 669 |
|
670 | 670 |
///강인구 추가(2017.11.02) |
671 | 671 |
///Memo 추가 |
672 |
STemp.Memo = this.Memo;
|
|
672 |
ctrl.Memo = this.Memo;
|
|
673 | 673 |
|
674 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
674 |
ctrl.ZIndex = this.ZIndex; |
|
675 |
|
|
676 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
675 | 677 |
} |
676 | 678 |
} |
677 | 679 |
|
... | ... | |
699 | 701 |
Clock = s.Clock, |
700 | 702 |
LineSize = Convert.ToDouble(data2.First()), |
701 | 703 |
UserID = s.UserID, |
702 |
Memo = s.Memo |
|
704 |
Memo = s.Memo, |
|
705 |
ZIndex = s.ZIndex |
|
703 | 706 |
}; |
704 | 707 |
} |
705 | 708 |
|
내보내기 Unified diff