固定文档/固定页面的块

发布于 2024-08-08 06:41:57 字数 76 浏览 1 评论 0原文

如何将块(System.Windows.Documents.Block/Section/BlockUIContainer)添加到固定文档?

How do I add Blocks(System.Windows.Documents.Block/ Section / BlockUIContainer) to the Fixed Document?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蝶…霜飞 2024-08-15 06:41:57

您可以尝试以下方法:

  1. 将块添加到 flowDocument
  2. 将 flowDocument 添加到 FlowDocumentViewer
  3. 将 FlowDocumentViewer 添加到固定页面。
  4. 然后,将此固定页面添加到 pageContent
  5. 将 pageContent 添加到 FixedDocument.Pages

祝你好运!

You may try the following way:

  1. Add block to flowDocument
  2. Add flowDocument to FlowDocumentViewer
  3. Add FlowDocumentViewer to FixedPage.
  4. Then, add this fixed page to pageContent
  5. Add pageContent to FixedDocument.Pages

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文