개정판 74abcf6f
sign manager 추가
Change-Id: Ia511ce9bf05e3a238353a549118d3b29ab673aa0
MarkupToPDF/Controls/Etc/SignControl.cs | ||
---|---|---|
311 | 311 |
this.EndPoint = pt; |
312 | 312 |
this.LeftBottomPoint = new Point(this.StartPoint.X, this.EndPoint.Y); |
313 | 313 |
this.TopRightPoint = new Point(this.EndPoint.X, this.StartPoint.Y); |
314 |
|
|
315 |
if (this.StartPoint != this.EndPoint && this.SignImage == null) |
|
314 |
|
|
315 |
var _sign = Application.Current.FindResource("UserSign"); |
|
316 |
|
|
317 |
if (this.StartPoint != this.EndPoint && this.SignImage == null && _sign != null) |
|
316 | 318 |
{ |
317 |
var _sign = GetUserSign.GetSign(this.UserNumber, this.ProjectNO); |
|
319 |
//var _sign = GetUserSign.GetSign(this.UserNumber, this.ProjectNO);
|
|
318 | 320 |
|
319 |
byte[] imageBytes = System.Convert.FromBase64String(_sign); |
|
321 |
byte[] imageBytes = System.Convert.FromBase64String(_sign.ToString());
|
|
320 | 322 |
|
321 | 323 |
System.IO.MemoryStream stream = new System.IO.MemoryStream(); |
322 | 324 |
stream.Write(imageBytes, 0, imageBytes.Length); |
내보내기 Unified diff