Exception:'System.Windows.Documents.FlowDocument' is not a Visual or Visual3D.