0
在Windows应用商店应用程序项目中,我使用PDFtron PDFViewCtrl来显示pdf文档。 我有一个显示文档的屏幕部分,它运行良好。PDFtron - 禁止在文档中写入表面笔
我想知道是否有一种方法来禁用此控件上的表面笔funcionality,因为它是现在,当我用笔传递文档时,它开始绘制线条。
这是我的XAML:
<Grid x:Name="pdfViewer" Background="Transparent" Canvas.ZIndex="111" >
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Border x:Name="PDFViewBorder" Background="White" Grid.Row="0"/>
</Grid>
,这背后是
MyPDFViewCtrl = new pdftron.PDF.PDFViewCtrl();
PDFViewBorder.Child = MyPDFViewCtrl;
docpdf = new pdftron.PDF.PDFDoc(file);
docpdf.InitSecurityHandler();
MyPDFViewCtrl.SetDoc(docpdf);
好吧生病尝试,但从我理解如果我编辑它,它会影响我所有的PDFviewctrl,我只是想禁用特定的功能。 – Ric
好吧,我设法开始工作。谢谢您的帮助 – Ric