Browse Source

ComPDFKit.Demo(win) - 修复取消创建多边形注释后无法选中多边形的问题

TangJinZhou 3 months ago
parent
commit
e7a23ea8e7

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

@@ -756,6 +756,7 @@ namespace ComPDFKit.Controls.PDFControl
 
         public void AnnotationCancel()
         {
+            this.pdfViewerControl.SetCreateAnnotType(C_ANNOTATION_TYPE.C_ANNOTATION_NONE);
             this.pdfViewerControl.SetToolType(ToolType.Pan);
             pdfViewerControl.SetIsShowStampMouse(false);
             pdfViewerControl.SetIsVisibleCustomMouse(false);