Browse Source

ComPDFKit.Tool(win) - 复制手绘属性参数更改

liyuxuan 6 months ago
parent
commit
d0ce867d70
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Demo/Examples/ComPDFKit.Tool/SettingParam/AnnotParam/InkParam.cs

+ 3 - 3
Demo/Examples/ComPDFKit.Tool/SettingParam/AnnotParam/InkParam.cs

@@ -51,14 +51,14 @@ namespace ComPDFKit.Tool
 
                 inkTransfer.InkPath = inkPoints;
             }
-
-            if(Dash != null)
+            inkTransfer.Dash = null;
+            if (Dash != null)
             {
                 float[] DashCopy=new float[Dash.Length];
                 Dash.CopyTo(DashCopy,0);
                 inkTransfer.Dash = DashCopy;
             }
-
+            
             return true;
         }
     }