프로젝트

일반

사용자정보

개정판 7ad417d8

ID7ad417d8de593b89ab81b0cc011ceafb54a3bf3c
상위 c4a8d205
하위 01f69275

이지연이(가) 9달 전에 추가함

issue #000: TextControl - Thickness 적용, view setting 값 그대로 적용

Change-Id: Ic75e25bf8dad1961e94b305faf3de8cdfcd936e9

차이점 보기:

MarkupToPDF/Controls/Text/ArrowTextControl.cs
1490 1490
        {
1491 1491
            //20180906 LJY Textbox guide
1492 1492
            string angle = Math.Abs(this.PageAngle).ToString();
1493
            //방지
1494
            if (this.ArcLength == 0) this.ArcLength = 10;
1493 1495
            if (angle == "180")
1494 1496
            {
1495 1497
                List<Point> pCloud = new List<Point>()
......
1520 1522
                    new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)), //위  
1521 1523

  
1522 1524
    #else
1523
                    new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)), //위
1524
                    new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)+ BoxHeight), //왼쪽 아래
1525
                    new Point(Canvas.GetLeft(Base_TextBox)+ boxWidth, Canvas.GetTop(Base_TextBox) + BoxHeight),
1526
                    new Point(Canvas.GetLeft(Base_TextBox) + boxWidth, Canvas.GetTop(Base_TextBox)),
1527
                    new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)), //위  
1525
                    new Point(Canvas.GetLeft(Base_TextBox)-(this.LineSize ), Canvas.GetTop(Base_TextBox) -(this.LineSize)), //위
1526
                    new Point(Canvas.GetLeft(Base_TextBox)-(this.LineSize ), Canvas.GetTop(Base_TextBox)+ BoxHeight+(this.LineSize)), //왼쪽 아래
1527
                    new Point(Canvas.GetLeft(Base_TextBox)+ boxWidth+(this.LineSize ), Canvas.GetTop(Base_TextBox) + BoxHeight+(this.LineSize)),
1528
                    new Point(Canvas.GetLeft(Base_TextBox) + boxWidth+(this.LineSize ), Canvas.GetTop(Base_TextBox)-(this.LineSize)),
1529
                    new Point(Canvas.GetLeft(Base_TextBox)-(this.LineSize), Canvas.GetTop(Base_TextBox)-(this.LineSize)), //위  
1528 1530

  
1529 1531
                    //new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)), //위
1530 1532
                    //new Point(Canvas.GetLeft(Base_TextBox), Canvas.GetTop(Base_TextBox)+ BoxHeight-4), //왼쪽 아래
......
1931 1933
                ///Memo 추가
1932 1934
                STemp.Memo = this.Memo;
1933 1935
                STemp.BorderSize = this.BorderSize;
1936
                STemp.ArcLength = this.ArcLength;
1934 1937
                return "|DZ|" + JsonSerializerHelper.CompressString((STemp.JsonSerialize()));
1935 1938
            };
1936 1939
        }
......
1981 1984
                instance.TextStyle = StringToFont.ConFontStyle(s.fontConfig[1]);
1982 1985
                instance.TextWeight = StringToFont.ConFontWeight(s.fontConfig[2]);
1983 1986
                instance.TextSize = Convert.ToDouble(s.fontConfig[3]);
1984

  
1987
                instance.ArcLength = s.ArcLength;
1985 1988
                if (s.fontConfig.Count() == 5)
1986 1989
                {
1987 1990
                    instance.UnderLine = TextDecorations.Underline;

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)