개정판 fa48eb85
issue #1000 컨트롤 angle 수정/ Textcontrol 텍스트 선택 수정
Change-Id: I56b5c6295adb7409774045545f30f16a920be96c
MarkupToPDF/Controls/Etc/ImgControl.cs | ||
---|---|---|
224 | 224 |
} |
225 | 225 |
} |
226 | 226 |
|
227 |
public override double Angle |
|
227 |
public override double CommentAngle
|
|
228 | 228 |
{ |
229 | 229 |
get { return (double)GetValue(AngleProperty); } |
230 | 230 |
set |
231 | 231 |
{ |
232 |
if (this.Angle != value) |
|
232 |
if (this.CommentAngle != value)
|
|
233 | 233 |
{ |
234 | 234 |
SetValue(AngleProperty, value); |
235 | 235 |
} |
... | ... | |
299 | 299 |
this.EndPoint, |
300 | 300 |
this.TopRightPoint, |
301 | 301 |
}); |
302 |
double AngleData = this.Angle * -1; |
|
302 |
double AngleData = this.CommentAngle * -1;
|
|
303 | 303 |
PathFigure pathFigure = new PathFigure(); |
304 | 304 |
|
305 | 305 |
pathFigure.StartPoint = MathSet.RotateAbout(mid, this.StartPoint, AngleData); |
... | ... | |
438 | 438 |
{ |
439 | 439 |
using (S_ImgControl STemp = new S_ImgControl()) |
440 | 440 |
{ |
441 |
STemp.Angle = this.Angle; |
|
441 |
STemp.Angle = this.CommentAngle;
|
|
442 | 442 |
STemp.EndPoint = this.EndPoint; |
443 | 443 |
STemp.LB = this.LeftBottomPoint; |
444 | 444 |
STemp.Name = this.GetType().Name; |
... | ... | |
486 | 486 |
|
487 | 487 |
instance = new ImgControl |
488 | 488 |
{ |
489 |
Angle = s.Angle, |
|
489 |
CommentAngle = s.Angle,
|
|
490 | 490 |
StartPoint = s.StartPoint, |
491 | 491 |
TopRightPoint = s.TR, |
492 | 492 |
EndPoint = s.EndPoint, |
내보내기 Unified diff