3
0

2 Коммиты ee53a2a413 ... 9b83d60139

Автор SHA1 Сообщение Дата
  zhuyi 9b83d60139 Merge branch 'compdfkit_demo_win_rebuild' of http://git.kdan.cc:8865/Others/kmpdfkit_demo into compdfkit_demo_win_rebuild 8 месяцев назад
  zhuyi 5e004ef2ce ComPDFKit(win) - 图章创建完成后显示鼠标,测量相关参数设置 8 месяцев назад

+ 1 - 0
Demo/Examples/Compdfkit_Tools/Annotation/PDFAnnotationPanel/PDFAnnotationControl/CPDFAnnotationControl.xaml.cs

@@ -737,6 +737,7 @@ namespace Compdfkit_Tools.PDFControl
         {
             this.pdfViewerControl.SetToolType(ToolType.Pan);
             pdfViewerControl.SetIsShowStampMouse(false);
+            pdfViewerControl.SetIsVisibleCustomMouse(false);
             ClearPanel();
         }
 

+ 3 - 0
Demo/Examples/Compdfkit_Tools/Common/BarControl/CPDFMeasureBarControl.xaml.cs

@@ -5,6 +5,7 @@ using ComPDFKit.Tool;
 using Compdfkit_Tools.Helper;
 using Compdfkit_Tools.Measure;
 using Compdfkit_Tools.Measure.Property;
+using ComPDFKitViewer;
 using System;
 using System.Collections.Generic;
 using System.ComponentModel;
@@ -336,6 +337,7 @@ namespace Compdfkit_Tools.PDFControl
 
         private AnnotParam CreatePolygonal()
         {
+            pdfViewer.PDFViewTool.GetDefaultSettingParam().IsCreateSquarePolygonMeasure = false;
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();
@@ -383,6 +385,7 @@ namespace Compdfkit_Tools.PDFControl
 
         private AnnotParam CreateRectangles()
         {
+            pdfViewer.PDFViewTool.GetDefaultSettingParam().IsCreateSquarePolygonMeasure = true;
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();