WPF大打印,所有页面上都有标题 [英] WPF Large Printing with header on all pages

查看:53
本文介绍了WPF大打印,所有页面上都有标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发 一个应用程序,我想在所有页面上打印带有标题的记录.有可能在WPF中吗?而且我还可以根据记录的内容设置分页符.并且还记录了一些图像,我想要无需修剪即可固定 在下一页上表示(如果图像在一页中不适合,则发送到另一页.如果有演示,请提供.

I am developing  a one application and I want to print a record with header on all pages . It's possible in wpf? And i can also set page break according to content of record. And also have some image in record and i want  to fixing without cropping on next page means( if image does not fit in one page  then send to another page. If you have any demo then please provide.

我是

推荐答案

嗨AnkitKumar2016,

Hi AnkitKumar2016,

>>"我想在所有页面上打印带有标题的记录.可以在wpf中使用吗?"

>>" I want to print a record with header on all pages . It's possible in wpf?"

是的.您将需要使用自定义DocumentPaginator.请参阅以下有关的文章 有关详细信息,请参见具有重复页面标题的FlowDocument分页".

Yes. You would need to use a custom DocumentPaginator. Please refer to the following article about "FlowDocument pagination with repeating page headers" for details.

最好的问候,

Xavier Eoro

Xavier Eoro

注意:此回复包含对第三方万维网站点的引用. Microsoft为方便您而提供此信息. Microsoft不控制这些站点,也没有测试在这些站点上找到的任何软件或信息;所以, Microsoft无法对在此找到的任何软件或信息的质量,安全性或适用性做出任何陈述.使用Internet上发现的任何软件都存在固有的危险,Microsoft提醒您确保自己 在从Internet上检索任何软件之前,应完全了解风险.

Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


这篇关于WPF大打印,所有页面上都有标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆