Jelajahi Sumber

ComPDFKit(win) - 测量模式的页面设置侧边栏

weixiangjie 7 bulan lalu
induk
melakukan
c815f80fa0
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      Demo/Examples/PDFViewer/MainPage.xaml.cs

+ 1 - 0
Demo/Examples/PDFViewer/MainPage.xaml.cs

@@ -665,6 +665,7 @@ namespace PDFViewer
                     measureControl.InitWithPDFViewer(viewControl);
                     measureControl.SetBOTAContainer(botaBarControl);
                     measureControl.ClearAllToolState();
+                    measureControl.SetSettingsControl(displaySettingsControl);
                     GetPDFViewControl().PDFViewTool.GetDefaultSettingParam().IsOpenMeasure = true;
                     measureControl.OnAnnotEditHandler -= PdfFormControlRefreshAnnotList;
                     measureControl.OnAnnotEditHandler += PdfFormControlRefreshAnnotList;