开发者

.net printing using templates [closed]

开发者 https://www.devze.com 2023-02-20 05:47 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

Closed 9 years ago.

Improve this question 开发者_如何学编程

I'm currently printing in .NET using the PrintDocument class, and it's allright, but the output is rather hard coded. Instead, I'd like to give my users a way to setup something like a template document, with static and dynamic fields. Then my code would keep the static fields (images, fixed text, etc) and fill in the dynamic ones.

What are my options?

Thanks.


I know it's blatant advertising, but I suggest using List & Label.

Disclaimer: I just like that product, I am not affiliated with them ;-)


It really depends on the requirement, ie if you need to print reports I would look at the various reporting tools avalable (eg Telerik / Active Reports)

If you want to produce page based templating for print, I would look at the various PDF generation libraries available as ultimately PDF format is what you should be aiming for. (eg: iTextSharp, TallComponents, many others)

0

精彩评论

暂无评论...
验证码 换一张
取 消