개정판 54e35b39
issue #000 TextControl CanvasX, CanvasY 값 설정.
Change-Id: I8257369ca8111457ac0e67faa35f700018fff501
MarkupToPDF/Controls/Text/TextControl.cs | ||
---|---|---|
922 | 922 |
} |
923 | 923 |
} |
924 | 924 |
|
925 |
public double Angle |
|
925 |
public override double Angle
|
|
926 | 926 |
{ |
927 | 927 |
get { return (double)GetValue(AngleProperty); } |
928 | 928 |
set |
... | ... | |
1161 | 1161 |
//this.CanvasX = Canvas.GetLeft(this) + dx; |
1162 | 1162 |
//this.CanvasY = Canvas.GetTop(this) + dy; |
1163 | 1163 |
|
1164 |
//this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx); |
|
1165 |
//this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy); |
|
1164 |
this.SetValue(TextControl.CanvasXProperty, Canvas.GetLeft(this) + dx); |
|
1165 |
this.SetValue(TextControl.CanvasYProperty, Canvas.GetTop(this) + dy); |
|
1166 |
|
|
1166 | 1167 |
this.StartPoint = new Point(this.StartPoint.X + dx, this.StartPoint.Y + dy); |
1167 | 1168 |
this.EndPoint = new Point(this.EndPoint.X + dx, this.EndPoint.Y + dy); |
1168 | 1169 |
|
1169 |
Canvas.SetLeft(this, Canvas.GetLeft(this) + dx); |
|
1170 |
Canvas.SetTop(this, Canvas.GetTop(this) + dy); |
|
1170 |
|
|
1171 |
//Canvas.SetLeft(this, Canvas.GetLeft(this) + dx); |
|
1172 |
//Canvas.SetTop(this, Canvas.GetTop(this) + dy); |
|
1171 | 1173 |
} |
1172 | 1174 |
|
1173 | 1175 |
/// <summary> |
내보내기 Unified diff