在输出 PDF 中渲染补充 Unicode 字符 Aspose.Cells for Node.js via C++

使用 Aspose.Cells for Node.js via C++ 在输出 PDF 中渲染 Unicode 补充字符

以下截图展示了 Aspose.Cells 如何将 源 Excel 文件 转换为 输出 PDF。可以看到所有三个 Unicode 补充字符都被准确渲染,与 Microsoft Excel 完全一致。

todo:image_alt_text

示例代码

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

const path = require("path");
const AsposeCells = require("aspose.cells.node");

// The path to the documents directory.
const dataDir = path.join(__dirname, "data");

// Load your source excel file containing Unicode Supplementary characters
const workbook = new AsposeCells.Workbook(path.join(dataDir, "unicode-supplementary-characters.xlsx"));

// Save the workbook
workbook.save(path.join(dataDir, "RenderUnicodeInOutput_out.pdf"));