개정판 08be599f
Sign Image에 Margin값 적용
Change-Id: Ia7b2ca158a15563611c8f24d3f5a189dd96797ed
MarkupToPDF/Controls/Etc/SignControl.cs | ||
---|---|---|
305 | 305 |
pathFigure.IsClosed = true; |
306 | 306 |
pathGeometry.Figures.Add(pathFigure); |
307 | 307 |
|
308 |
this.Base_Image.Width = pathGeometry.Bounds.Width; |
|
309 |
this.Base_Image.Height = pathGeometry.Bounds.Height; |
|
308 |
// 상 하 좌 우 에 마진값 적용 |
|
309 |
double dMargin = -20; |
|
310 |
|
|
311 |
this.Base_Image.Width = Math.Abs(pathGeometry.Bounds.Width+ dMargin); |
|
312 |
this.Base_Image.Height = Math.Abs(pathGeometry.Bounds.Height+ dMargin); |
|
310 | 313 |
|
311 | 314 |
this.Tag = pathGeometry; |
312 | 315 |
|
내보내기 Unified diff