<Window x:Class="WpfApplication1.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="FlowDocReader Load/Save Sample" Width="640" Height="480"> <StackPanel> <FlowDocumentReader Name="FlowDocRdr" Grid.Row="1"/> </StackPanel> </Window> //File:Window.xaml.vb Imports System Imports System.Windows Imports System.Windows.Controls Imports System.Windows.Data Imports System.Windows.Documents Imports System.Windows.Media Imports System.Windows.Media.Imaging Imports System.Windows.Shapes Imports System.Windows.Forms Imports System.IO Imports System.Windows.Markup Namespace WpfApplication1 Public Partial Class Window1 Inherits Window Public Sub New() InitializeComponent() FlowDocRdr.Document = Nothing End Sub End Class End Namespace