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产品
如需获取更多产品相关信息请咨询在线客服
标签:
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!