简体   繁体   English

找不到参考FlowDocument

[英]Can't find reference FlowDocument

I'm experimenting with a FlowDocument object but can't seem to get it work... 我正在尝试使用FlowDocument对象,但似乎无法正常工作...

I keep getting the following error and have no clue what I should add. 我不断收到以下错误,不知道应该添加什么。

Error 5 The type or namespace name 'FlowDocument' could not be found (are you missing a using directive or an assembly reference?) 错误5找不到类型或名称空间名称'FlowDocument'(您是否缺少using指令或程序集引用?)

Add a reference to PresentationFramework dll to your project. 将对PresentationFramework dll的引用添加到您的项目。

Add using System.Windows.Documents to your source file. using System.Windows.Documents将添加到您的源文件。

Note that FlowDocument is not included in Silverlight. 请注意,Silverlight不包含FlowDocument。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM