개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Etc/DateControl.cs | ||
---|---|---|
57 | 57 |
PointSet = item.PointSet.ConvertAll(x => new Point(x.X, x.Y)); |
58 | 58 |
UserID = item.UserID; |
59 | 59 |
Memo = item.Memo; |
60 |
ZIndex = item.ZIndex; |
|
60 | 61 |
} |
61 | 62 |
} |
62 | 63 | |
... | ... | |
580 | 581 |
/// <returns></returns> |
581 | 582 |
public override string Serialize() |
582 | 583 |
{ |
583 |
using (S_DateControl STemp = new S_DateControl())
|
|
584 |
using (S_DateControl ctrl = new S_DateControl())
|
|
584 | 585 |
{ |
585 |
STemp.Angle = this.CommentAngle;
|
|
586 |
STemp.EndPoint = this.EndPoint;
|
|
587 |
STemp.UserID = this.UserID;
|
|
588 |
STemp.LB = this.LeftBottomPoint;
|
|
589 |
STemp.Name = this.GetType().Name;
|
|
590 |
STemp.PointSet = this.PointSet;
|
|
591 |
STemp.StartPoint = this.StartPoint;
|
|
592 |
STemp.Opac = this.Opacity;
|
|
593 |
STemp.TR = this.TopRightPoint;
|
|
594 |
STemp.TransformPoint = "0|0";
|
|
595 |
STemp.FontColor = this.FontColor.Color.ToString();
|
|
596 |
//STemp.FontColor = "#FFFFFF00";
|
|
597 |
STemp.SizeSet = String.Format("{0}", this.LineSize);
|
|
598 |
STemp.Text = this.Text;
|
|
586 |
ctrl.Angle = this.CommentAngle;
|
|
587 |
ctrl.EndPoint = this.EndPoint;
|
|
588 |
ctrl.UserID = this.UserID;
|
|
589 |
ctrl.LB = this.LeftBottomPoint;
|
|
590 |
ctrl.Name = this.GetType().Name;
|
|
591 |
ctrl.PointSet = this.PointSet;
|
|
592 |
ctrl.StartPoint = this.StartPoint;
|
|
593 |
ctrl.Opac = this.Opacity;
|
|
594 |
ctrl.TR = this.TopRightPoint;
|
|
595 |
ctrl.TransformPoint = "0|0";
|
|
596 |
ctrl.FontColor = this.FontColor.Color.ToString();
|
|
597 |
//ctrl.FontColor = "#FFFFFF00";
|
|
598 |
ctrl.SizeSet = String.Format("{0}", this.LineSize);
|
|
599 |
ctrl.Text = this.Text;
|
|
599 | 600 |
///강인구 추가(2017.11.02) |
600 | 601 |
///Memo 추가 |
601 |
STemp.Memo = this.Memo;
|
|
602 |
ctrl.Memo = this.Memo;
|
|
602 | 603 | |
603 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
604 |
ctrl.ZIndex = this.ZIndex; |
|
605 | ||
606 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
604 | 607 |
} |
605 | 608 |
} |
606 | 609 | |
... | ... | |
627 | 630 |
Text = s.Text, |
628 | 631 |
PointSet = s.PointSet, |
629 | 632 |
UserID = s.UserID, |
630 |
Memo = s.Memo |
|
633 |
Memo = s.Memo, |
|
634 |
ZIndex = s.ZIndex |
|
631 | 635 |
}; |
632 | 636 |
} |
633 | 637 |
} |
내보내기 Unified diff