프로젝트

일반

사용자정보

개정판 55d4f382

ID55d4f382d250c7a472645c43aa5f5d0946b2f682
상위 ed3740c4
하위 56c8050e

송근호이(가) 5년 이상 전에 추가함

issue #923
1.TextControl, ArrowTextControl에 SetFontFamily 함수를 만들고, 선택된 아이템에 대해서 TopMenu에 Font가 바뀌면 SetFontFamily을 호출하여 각 컨트롤마다 폰트를 바뀌게한다.
2.TextControl, ArrowTextControl을 생성할 때 SetFontFamily 함수를 호출하여 컨트롤에 Font를 Apply한다.

Change-Id: I242c6ba4db930307f06890a82ebf272c7dbf0bdc

차이점 보기:

KCOM/Events/Implementation/TopMenuEvent.cs
1126 1126
                                        {
1127 1127
                                            //if ((InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).FontFamily == TextDecorations.Underline)
1128 1128
                                            //{
1129
                                            (InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).FontFamily = new FontFamily(comboFontFamily.Text);
1130
                                            (InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).Base_TextBlock.FontFamily = new FontFamily(comboFontFamily.Text);
1131
                                            (InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).Base_TextBox.FontFamily = new FontFamily(comboFontFamily.Text);
1129
                                            (InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).SetFontFamily(new FontFamily(comboFontFamily.Text));
1130
                                            //(InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).Base_TextBlock.FontFamily = new FontFamily(comboFontFamily.Text);
1131
                                            //(InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).Base_TextBox.FontFamily = new FontFamily(comboFontFamily.Text);
1132
                                            //(InnerItem.DrawingData as MarkupToPDF.Controls.Text.TextControl).TextFamily = new FontFamily(comboFontFamily.Text);
1132 1133
                                            //}
1133 1134
                                            //else
1134 1135
                                            //{
......
1138 1139
                                        break;
1139 1140
                                    case ("ArrowTextControl"):
1140 1141
                                        {
1142
                                            (InnerItem.DrawingData as MarkupToPDF.Controls.Text.ArrowTextControl).SetFontFamily(new FontFamily(comboFontFamily.Text));
1141 1143
                                            //if ((InnerItem.DrawingData as MarkupToPDF.Controls.Text.ArrowTextControl).UnderLine == TextDecorations.Underline)
1142 1144
                                            //{
1143 1145
                                            //    (InnerItem.DrawingData as MarkupToPDF.Controls.Text.ArrowTextControl).UnderLine = null;

내보내기 Unified diff

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