Przeglądaj źródła

ComPDFKit.Controls(win) - 避免测量矩形与云朵注释冲突

liuaoran 1 tydzień temu
rodzic
commit
2e282bc74a

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

@@ -324,6 +324,7 @@ namespace ComPDFKit.Controls.PDFControl
                 case CPDFAnnotationType.Polygon:
                     {
                         CPDFPolygonData polygonData = pdfAnnotationData as CPDFPolygonData;
+                        pdfViewerControl.PDFViewTool.GetDefaultSettingParam().IsCreateSquarePolygonMeasure = false;
                         annotHandlerEventArgs = new PolygonMeasureParam()
                         {
                             CurrentType = C_ANNOTATION_TYPE.C_ANNOTATION_POLYGON