add footer to FlowDocumentsdocuments

谁说胖子不能爱 提交于 2019-12-02 07:35:55

问题


I want to add footer to FlowDocuments in wpf. Please help me how to add?


回答1:


After you load an XAML file, you will get an IDocumentPaginatorSource object, from which you can get its DocumentPaginator.

You can wrapper around DocumentPaginator, overriding its GetPage method to add header, footer, or anything else like watermark.

For getting the code goto Convert XAML Flow Document to XPS with Style




回答2:


look at this : http://www.codeproject.com/KB/WPF/PimpedDocumentPaginator.aspx



来源:https://stackoverflow.com/questions/1432170/add-footer-to-flowdocumentsdocuments

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!