16,722
社区成员




Dim doc As New Aspose.Words.Document("D:\a_test\123.doc")
'将文件保存为Aspose.Pdf.Xml格式
doc.Save("D:\a_test\System.xml", Aspose.Words.SaveFormat.Pdf)
Dim pdf As Aspose.Pdf.Generator.Pdf = New Aspose.Pdf.Generator.Pdf()
'绑定XML
pdf.BindXML("D:\a_test\System.xml", Nothing)
'是否删除生成的临时图片文件
pdf.IsImagesInXmlDeleteNeeded = True
pdf.Save("D:\a_test\MyDocument.pdf")