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?)
Add a reference to PresentationFramework dll to your project.
Add
using System.Windows.Documentsto your source file.Note that FlowDocument is not included in Silverlight.