xhaixia
September 20, 2022, 9:08am
1
The inserted shape border color does not take effect, nor does the text box border color
形状外框.docx (14.6 KB)
in office:
to pdf:
jar version:
aspose-words-22.9-jdk16.jar
code:
Document document = new Document("D:\\aspose\\word\\形状外框.docx");
document.save("D:\\aspose\\word\\形状外框.pdf");
@xhaixia Unfortunately, I cannot reproduce the problem on my side. The following simple code produces correct output:
Document doc = new Document("C:\\Temp\\in.docx");
doc.save("C:\\Temp\\out.pdf");
here is PDF produced on my side: out.pdf (2.1 KB)
Could you please attach your output PDF document here?
there are 3 input docx and 3 output pdf files ~~
EPPR-56080.zip (65.3 KB)
@xhaixia You are using very old 14.6 version of Aspose.Words for Java. This version was released more than 8 years ago.
Please try using the latest 22.9 version of Aspose.Words https://repository.aspose.com/words/
my mistake. it work using the latest 22.9 version. think you very much.
1 Like