开发者

How can I Save Report.Document.Printer settings?

开发者_StackOverflow社区

I want store the Report.Document.Printer settings in a database, how can I Save it? Is there any way like the Report.SaveLayout() method?


There is no built in save method like SaveLayout, but you could save these settings yourself into text or XML (for example) to save in your database and manually reset them later.

You can see an example of setting those properties in the Printer class documentation page. For your needs, you would just retrieve those settings from your database (the text/xml) instead of hard coding them as is done in the example.


try PrintDocument.PrinterSettings

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜