问题描述
您好!
我是一个相当新的JScript用户,他使用这种语言为.NET程序做小插件。我在理解如何将PrintDocument类与JScript一起使用时遇到问题。
I am a fairly new JScript user, who uses this language to do small addons for a .NET program. I am having a problem with understanding how too use the PrintDocument class with JScript.
脚本启动,截取屏幕截图,将其存储为Graphics对象,我也想将其发送到默认打印机。我怎样才能做到这一点?我发现的唯一方法是使用PrintPage事件(http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage.aspx),但这不是在JScript支持?
The script start, takes a screenshot, stores this as a Graphics object and the I want to send this too the default printer. How can i do this? The only way i have found is using the PrintPage event (http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage.aspx), but this is not supported in JScript?!
希望有人可以帮助我:)
Hope someone out there can help me :)
最诚挚的问候,
Terje
推荐答案
这篇关于在JScript中打印Graphics对象(PrintDocument类)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!