通过 Aspose.Cells 在输出 PDF 中渲染 Unicode 增补字符

通过 Aspose.Cells 在输出 PDF 中渲染 Unicode 增补字符

以下屏幕截图显示了 Aspose.Cells 如何呈现源文件进入输出 PDF.如您所见,所有三个 Unicode 增补字符的呈现方式与 Microsoft 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");