Forráskód Böngészése

bug - 形状线宽问题,字体大小参数修改

sunhaonan 1 éve
szülő
commit
eed6e0b628

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

@@ -156,19 +156,20 @@ namespace Compdfkit_Tools.PDFControlUI
                     if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_SQUARE)
                     {
                         CPDFSquareAnnotation squareAnnot = annotCore as CPDFSquareAnnotation;
-                        squareAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
+                        squareAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
                     }
 
                     if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_CIRCLE)
                     {
                         CPDFCircleAnnotation circleAnnot = annotCore as CPDFCircleAnnotation;
-                        circleAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
+                        circleAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
+
                     }
 
                     if (annotCore.Type == C_ANNOTATION_TYPE.C_ANNOTATION_LINE)
                     {
                         CPDFLineAnnotation lineAnnot = annotCore as CPDFLineAnnotation;
-                        lineAnnot?.SetBorderWidth(CPDFThicknessControl.Thickness);
+                        lineAnnot?.SetLineWidth(CPDFThicknessControl.Thickness);
                     }
 
                     if (viewControl != null && viewControl.PDFViewTool != null)

+ 1 - 1
Demo/Examples/Compdfkit_Tools/Form/Property/TextFieldProperty.xaml.cs

@@ -22,7 +22,7 @@ namespace Compdfkit_Tools.PDFControl
         private CPDFDocument cPDFDocument = null;
         public ObservableCollection<int> SizeList { get; set; } = new ObservableCollection<int>
         {
-            6,8,9,10,12,14,18,20,24,26,28,32,30,32,48,72
+            6,8,9,10,12,14,18,20,24,26,28,30,32,48,72
         };
 
         bool IsLoadedData = false;