flowdocument中的性能问题 [英] Performance Issue in flowdocument

查看:96
本文介绍了flowdocument中的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有大文档

推荐答案

hi,我想在FlowDocumentReader.how中显示大文档以解决Flowdocument中的性能问题。您可能希望使用分页视图FlowDocumentPageViewer而不是FlowdocumentScrollViewer(由于将内容分解为页面所需的额外计算,FlowDocumentReader会产生更多开销)。使用DocumentViewer的FixedDocument也可以提高性能。



请查看此主题: FlowDocument Performance
hi. you may want to use a paginated view FlowDocumentPageViewer instead of the FlowdocumentScrollViewer (FlowDocumentReader has more overhead due to the additional calculations needed for breaking content into pages). also FixedDocument with DocumentViewer can improve performance.

Please, view this thread: FlowDocument Performance


这篇关于flowdocument中的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆