Intersoft ClientUI Documentation
FlowDocument Class
Members 



Represents the document object that can reflow its content depending on window size, device resolution, and other environment variables.
Object Model
FlowDocument ClassBlockCollection ClassBlock ClassDocumentPaginator ClassDocumentPaginator ClassFlowDocumentStyleCollection ClassFlowDocumentStyle Class
Syntax
Remarks

A flow document is designed to "reflow content" depending on window size, device resolution, and other environment variables. It also has a number of built in features including search, viewing modes that optimize readability, and the ability to apply formatting to the flow elements. Flow document is best utilized when ease of reading is the primary document consumption scenario. In contrast, fixed document is useful when fidelity of the source content is essential. For more information about fixed document, see Document Framework Overview.

To view a flow document, it must be contained in a flow document viewer control. There are three types of flow document viewer, which are UXFlowDocumentViewer, UXFlowDocumentPageViewer, and UXFlowDocumentScrollViewer. For further information about these viewers, see the overview of each control.

The following code example shows how to author a simple FlowDocument in a UXFlowDocumentViewer.

XAML
Copy Code
<Intersoft:UXFlowDocumentViewer>
        <Intersoft:FlowDocument>
        <Intersoft:Paragraph>
                <Intersoft:Run>
                Hello World
            </Intersoft:Run>
        </Intersoft:Paragraph>
    </Intersoft:FlowDocument>
</Intersoft:UXFlowDocumentViewer>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.FlowDocument

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlowDocument Members
Intersoft.Client.Documents Namespace

Send Feedback