Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Paragraph elements and FlowDocumentPageViewer

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Center" VerticalAlignment="Center">     <FlowDocumentPageViewer>              <FlowDocument>           <Paragraph>             This is a paragraph.            </Paragraph>           <Paragraph>             <Italic>This</Italic> is <Bold>another</Bold> paragraph.              <Span FontFamily="Old English Text MT">Old English Text MT</Span>.           </Paragraph>         </FlowDocument>          </FlowDocumentPageViewer> </Page>