Intersoft.Client.UI.DocumentViewers Namespace > FlowDocumentViewerBase Class : Document Property |
<CategoryAttribute("Common Properties")> Public Property Document As FlowDocument
Dim instance As FlowDocumentViewerBase Dim value As FlowDocument instance.Document = value value = instance.Document
[CategoryAttribute("Common Properties")] public FlowDocument Document {get; set;}
[CategoryAttribute("Common Properties")] public: property FlowDocument^ Document { FlowDocument^ get(); void set ( FlowDocument^ value); }
The following example shows how to define a FlowDocument and display it in a viewer.
XAML |
Copy Code
|
---|---|
<Intersoft:UXFlowDocumentViewer> <Intersoft:FlowDocument> <Intersoft:Paragraph> <Intersoft:Run> Hello World! </Intersoft:Run> </Intersoft:Paragraph> </Intersoft:FlowDocument> </Intersoft:UXFlowDocumentViewer> |
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