使用Aspose.Cells for Python via .NET API,将输出PDF中的Unicode补充字符渲染。

使用Aspose.Cells for Python via .NET将输出PDF中的Unicode补充字符渲染

以下屏幕截图显示了Aspose.Cells for Python via .NET如何将源Excel文件渲染为输出PDF。如您所见,所有三个Unicode补充字符的渲染方式与Microsoft Excel相同。

todo:image_alt_text

示例代码

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

from aspose.cells import Workbook
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET
# The path to the documents directory.
dataDir = RunExamples.GetDataDir(".")
# Load your source excel file containing Unicode Supplementary characters
wb = Workbook(dataDir + "unicode-supplementary-characters.xlsx")
# Save the workbook
wb.save(dataDir + "RenderUnicodeInOutput_out.pdf")