/
PDFExport.xaml
60 lines (52 loc) · 2.58 KB
/
PDFExport.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<Window x:Class="GemScopeWPF.PDFExport"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Data="clr-namespace:GemScopeWPF.Repository"
Title="PDFExport" Height="618" Width="937">
<Window.Resources>
<Data:BindingTest x:Key="Data">
</Data:BindingTest>
</Window.Resources>
<Grid>
<StackPanel >
<ToolBar Height="55">
</ToolBar>
<FlowDocumentScrollViewer
VerticalScrollBarVisibility="Hidden">
<FlowDocument>
<Table>
<Table.Columns>
<TableColumn Width="1*"></TableColumn>
<TableColumn Width="1*"></TableColumn>
</Table.Columns>
<TableRowGroup>
<TableRow>
<TableCell>
<Paragraph>
<Image Source="{Binding Source={StaticResource Data}, Path=Image}" ></Image>
</Paragraph>
</TableCell>
<TableCell>
<List>
<ListItem>
<Table >
<Table.Columns>
<TableColumn Width="1*"></TableColumn>
<TableColumn Width="1*"></TableColumn>
</Table.Columns>
<TableRowGroup>
</TableRowGroup>
</Table>
</ListItem>
</List>
</TableCell>
</TableRow>
</TableRowGroup>
</Table>
<Paragraph FontSize="11" FontFamily="Arial">
</Paragraph>
</FlowDocument>
</FlowDocumentScrollViewer>
</StackPanel>
</Grid>
</Window>