通过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-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
// Load your source excel file containing Unicode Supplementary characters
Workbook wb = new Workbook(dataDir + "unicode-supplementary-characters.xlsx");
// Save the workbook
wb.Save(dataDir + "RenderUnicodeInOutput_out.pdf");