瀏覽代碼

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

weixiangjie 7 月之前
父節點
當前提交
c815f80fa0
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;