通过Aspose.Cells在输出PDF中呈现Unicode补充字符

通过Aspose.Cells在输出PDF中呈现Unicode补充字符

以下屏幕截图显示了Aspose.Cells如何将源Excel文件呈现为输出PDF。您可以看到所有三个Unicode补充字符都与Microsoft Excel所做的完全相同。

todo:image_alt_text

您可以使用此样本代码将源Excel文件转换为输出PDF

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// The path to the documents directory.
String dataDir = Utils.getDataDir(RenderUnicodeSupplimentaryCharacterToPDF.class);
// Load your source excel file containing Unicode Supplementary
// characters
Workbook wb = new Workbook(dataDir + "unicode-supplementary-characters.xlsx");
// Save the workbook
wb.save(dataDir + "output.pdf");