在C#中打印OpenXml文档 [英] Printing OpenXml Documents in C#

查看:167
本文介绍了在C#中打印OpenXml文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搜索了此内容,但找不到任何帮助.

I have searched for this but cant find anything to help.

我有一个WordprocessingDocument-使用DocumentFormat.OpenXml.Wordprocessing.

I have a WordprocessingDocument - using DocumentFormat.OpenXml.Wordprocessing.

是否可以直接将其打印到打印机上,我根本不想保存吗?

Is there a way to print this straight off to a printer, I dont want to save it at all?

谢谢

推荐答案

否,您将需要某种程序来获取Open XML并将其转换为应如何显示在打印机上.原始格式的XML格式文件,如果没有翻译,打印机将无法按照您的期望进行打印.

No, you'll need some sort of program to take the Open XML and translate into how it should be displayed for the printer. In its raw form its just XML and without the translation the printer won't print it how you would expect.

这篇关于在C#中打印OpenXml文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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