Reputation: 662
I'm experimenting with a FlowDocument object but can't seem to get it work...
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?)
Upvotes: 0
Views: 1877
Reputation: 36082
Add a reference to PresentationFramework dll to your project.
Add using System.Windows.Documents
to your source file.
Note that FlowDocument is not included in Silverlight.
Upvotes: 3