FlowDocument with images

image_pdfimage_print


   
      


<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>
            An image in a block container
          </Paragraph>
          <BlockUIContainer>
            <Image Source="c:/Image.jpg" Width="200" />
          </BlockUIContainer>
          <Paragraph>
            An inline UI container:
            <InlineUIContainer BaselineAlignment="Center">
              <Image Source="c:/Image.jpg" Height="40" />
            </InlineUIContainer>
          </Paragraph>
        </FlowDocument>
    </FlowDocumentPageViewer>

</Page>