首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

在DocumentViewer中禁用文本选择

在DocumentViewer中禁用文本选择,可以通过设置DocumentViewer的IsTextSelectionEnabled属性为False来实现。

示例代码:

代码语言:csharp
复制
DocumentViewer documentViewer = new DocumentViewer();
documentViewer.IsTextSelectionEnabled = false;

这样,在DocumentViewer中就不能选择文本了。

页面内容是否对你有帮助?
有帮助
没帮助

相关·内容

  • 领券