【问题标题】:Display images in FlowDocument在 FlowDocument 中显示图像
【发布时间】:2014-10-03 23:48:48
【问题描述】:

我在设计中看到这些图像,但是当我运行程序时没有图像
我什至看到了??????当我运行程序时
运行程序时如何显示这些图像?

<FlowDocumentScrollViewer>
    <FlowDocument Style="{StaticResource Flow01}">
            <Table CellSpacing="2">
                <Table.Columns>
                    <TableColumn/>
                    <TableColumn/>
                    <TableColumn/>
                </Table.Columns>
                <TableRowGroup>
                    <TableRow >
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                ∩ Intersection
                            </Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                ∪ Union
                            </Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                - Minus
                            </Paragraph>
                        </TableCell>
                    </TableRow>
                    <TableRow >
                        <TableCell>
                            <Paragraph >?????</Paragraph>
                            <BlockUIContainer>
                                <Image Source="Images\VennIntersection.png" />
                            </BlockUIContainer>
                        </TableCell>
                        <TableCell>
                            <BlockUIContainer>
                                <Image Source="Images\VennUnion.png" />
                            </BlockUIContainer>
                        </TableCell>
                        <TableCell>
                            <BlockUIContainer>
                                <Image Source="Images\VennMinusM.png" />
                            </BlockUIContainer>
                        </TableCell>
                    </TableRow>

                    <TableRow >
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                ∩ Intersection
                            </Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                ∪ Union
                            </Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph Style="{StaticResource Par0}">
                                - Minus
                            </Paragraph>
                        </TableCell>
                    </TableRow>

                </TableRowGroup>
            </Table>
        </FlowDocument>
</FlowDocumentScrollViewer>

【问题讨论】:

    标签: .net wpf flowdocument flowdocumentscrollviewer


    【解决方案1】:

    我让它可以添加现有项目并取出图像\
    但我真的希望有更好的答案

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-01-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-30
      • 2023-03-19
      • 1970-01-01
      相关资源
      最近更新 更多