소스 검색

compdfkit(win) - 注释面板填充颜色无效问题

weixiangjie 11 달 전
부모
커밋
509690ed1a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFShapeUI.xaml.cs

+ 4 - 0
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationUI/CPDFShapeUI.xaml.cs

@@ -463,6 +463,10 @@ namespace Compdfkit_Tools.PDFControlUI
 
                     if (squareParam.BgColor!=null)
                     {
+                        FillColorPickerControl.Brush = new SolidColorBrush(Color.FromRgb(
+                           squareParam.BgColor[0],
+                           squareParam.BgColor[1],
+                           squareParam.BgColor[2]));
                         FillColorPickerControl.SetCheckedForColor(Color.FromRgb(
                            squareParam.BgColor[0],
                            squareParam.BgColor[1],