개정판 54e35b39
issue #000 TextControl CanvasX, CanvasY 값 설정.
Change-Id: I8257369ca8111457ac0e67faa35f700018fff501
KCOM/Controls/AdornerFinal.xaml.cs | ||
---|---|---|
1243 | 1243 |
Angle = (member.DrawingData as CommentUserInfo).Angle |
1244 | 1244 |
}; |
1245 | 1245 |
|
1246 |
//(member.DrawingData as TextControl).Base_Grid.RenderTransform = new RotateTransform()
|
|
1247 |
//{
|
|
1248 |
// //Angle = (member.DrawingData as TextControl).Angle,
|
|
1249 |
// Angle = (member.DrawingData as CommentUserInfo).Angle
|
|
1250 |
//};
|
|
1246 |
(member.DrawingData as TextControl).Base_Grid.RenderTransform = new RotateTransform() |
|
1247 |
{ |
|
1248 |
//Angle = (member.DrawingData as TextControl).Angle, |
|
1249 |
Angle = (member.DrawingData as CommentUserInfo).Angle |
|
1250 |
}; |
|
1251 | 1251 |
|
1252 |
(member.DrawingData as TextControl).Angle = AngleValue; |
|
1252 |
//(member.DrawingData as TextControl).Angle = AngleValue;
|
|
1253 | 1253 |
|
1254 | 1254 |
(member.DrawingData as CommentUserInfo).UpdateControl(); |
1255 | 1255 |
BorderUpdate(); |
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