块到固定文档/固定页面

时间:2009-10-23 17:54:10

标签: .net document fixed

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

1 个答案:

答案 0 :(得分:0)

您可以尝试以下方式:

  1. 将阻止添加到flowDocument
  2. 将flowDocument添加到FlowDocumentViewer
  3. 将FlowDocumentViewer添加到FixedPage。
  4. 然后,将此固定页面添加到pageContent
  5. 将pageContent添加到FixedDocument.Pages
  6. 祝你好运!