通过 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-.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");