Word控件Spire.Doc 转换教程(二十八):将 Word 转换为 PCL

PCL 文件是以打印机命令语言(通常称为 PCL)页面描述语言创建的数字打印文档。从v7.1.19 开始,

以下将直接展示代码:

[C#]

using Spire.Doc;namespace DOCPCL{class Program{static void Main(string[] args){//load the sample documentDocument doc = new Document();doc.LoadFromFile("Sample.docx", FileFormat.Docx2010);//save the document as a PCL filedoc.SaveToFile("Result.pcl", FileFormat.PCL); }}}

[VB.NET]

using Spire.Doc;namespace DOCPCL{class Program{static void Main(string[] args){//load the sample documentDocument doc = new Document();doc.LoadFromFile("Sample.docx", FileFormat.Docx2010);//save the document as a PCL filedoc.SaveToFile("Result.pcl", FileFormat.PCL); }}}

欢迎下载|体验更多E-iceblue产品

如需获取更多产品相关信息请咨询在线客服  

aspose最新版合集


标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2022年1月20日
下一篇 2022年1月20日

相关推荐

发表回复

登录后才能评论