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);
             this.pdfViewerControl.SetToolType(ToolType.Pan);
             pdfViewerControl.SetIsShowStampMouse(false);
             pdfViewerControl.SetIsShowStampMouse(false);
+            pdfViewerControl.SetIsVisibleCustomMouse(false);
             ClearPanel();
             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.Helper;
 using Compdfkit_Tools.Measure;
 using Compdfkit_Tools.Measure;
 using Compdfkit_Tools.Measure.Property;
 using Compdfkit_Tools.Measure.Property;
+using ComPDFKitViewer;
 using System;
 using System;
 using System.Collections.Generic;
 using System.Collections.Generic;
 using System.ComponentModel;
 using System.ComponentModel;
@@ -336,6 +337,7 @@ namespace Compdfkit_Tools.PDFControl
 
 
         private AnnotParam CreatePolygonal()
         private AnnotParam CreatePolygonal()
         {
         {
+            pdfViewer.PDFViewTool.GetDefaultSettingParam().IsCreateSquarePolygonMeasure = false;
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();
@@ -383,6 +385,7 @@ namespace Compdfkit_Tools.PDFControl
 
 
         private AnnotParam CreateRectangles()
         private AnnotParam CreateRectangles()
         {
         {
+            pdfViewer.PDFViewTool.GetDefaultSettingParam().IsCreateSquarePolygonMeasure = true;
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetToolType(CPDFToolManager.ToolType.CreateAnnot);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             pdfViewer.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON);
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();
             PolygonMeasureParam polygonMeasureParam = new PolygonMeasureParam();