개정판 b2d0f316
Feature: 선택한 객체를 앞으로(+)/뒤로(-) 보내기 기능 추가
Change-Id: I9130a93cfdb2d079f28258f3d669a6f532695f89
MarkupToPDF/Controls/Etc/ImgControl.cs | ||
---|---|---|
58 | 58 |
this.UserID = imgControl.UserID; |
59 | 59 |
this.ImageData = imgControl.ImageData; |
60 | 60 |
this.Memo = imgControl.Memo; |
61 |
this.ZIndex = imgControl.ZIndex; |
|
61 | 62 |
} |
62 | 63 |
} |
63 | 64 |
|
... | ... | |
506 | 507 |
/// <returns></returns> |
507 | 508 |
public override string Serialize() |
508 | 509 |
{ |
509 |
using (S_ImgControl STemp = new S_ImgControl())
|
|
510 |
using (S_ImgControl ctrl = new S_ImgControl())
|
|
510 | 511 |
{ |
511 |
STemp.Angle = this.CommentAngle;
|
|
512 |
STemp.EndPoint = this.EndPoint;
|
|
513 |
STemp.LB = this.LeftBottomPoint;
|
|
514 |
STemp.Name = this.GetType().Name;
|
|
515 |
STemp.PointSet = this.PointSet;
|
|
516 |
STemp.StartPoint = this.StartPoint;
|
|
517 |
STemp.UserID = this.UserID;
|
|
518 |
STemp.Opac = this.Opacity;
|
|
519 |
STemp.TR = this.TopRightPoint;
|
|
520 |
STemp.ImagePath = this.FilePath;
|
|
512 |
ctrl.Angle = this.CommentAngle;
|
|
513 |
ctrl.EndPoint = this.EndPoint;
|
|
514 |
ctrl.LB = this.LeftBottomPoint;
|
|
515 |
ctrl.Name = this.GetType().Name;
|
|
516 |
ctrl.PointSet = this.PointSet;
|
|
517 |
ctrl.StartPoint = this.StartPoint;
|
|
518 |
ctrl.UserID = this.UserID;
|
|
519 |
ctrl.Opac = this.Opacity;
|
|
520 |
ctrl.TR = this.TopRightPoint;
|
|
521 |
ctrl.ImagePath = this.FilePath;
|
|
521 | 522 |
///강인구 추가(2017.11.02) |
522 | 523 |
///Memo 추가 |
523 |
STemp.Memo = this.Memo;
|
|
524 |
ctrl.Memo = this.Memo;
|
|
524 | 525 |
|
525 |
return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize())); |
|
526 |
ctrl.ZIndex = this.ZIndex; |
|
527 |
|
|
528 |
return "|DZ|" + JsonSerializerHelper.CompressString((ctrl.JsonSerialize())); |
|
526 | 529 |
} |
527 | 530 |
} |
528 | 531 |
|
... | ... | |
566 | 569 |
FilePath = uri.Uri.ToString(), |
567 | 570 |
UserID = s.UserID, |
568 | 571 |
ImageData = img.Source, |
569 |
Memo = s.Memo |
|
572 |
Memo = s.Memo, |
|
573 |
ZIndex = s.ZIndex |
|
570 | 574 |
}; |
571 | 575 |
|
572 | 576 |
instance.ImageData = img.Source; |
내보내기 Unified diff