تقديم أحرف تكميلية Unicode في الإخراج PDF بواسطة Aspose.Cells
Contents
[
Hide
]
يبلغ طول أحرف Unicode العادية 2 بايت بينما يبلغ طول أحرف Unicode الإضافية 4 بايت. يدعم Aspose.Cells الآن تحويل أحرف Unicode هذه ذات 4 بايت.
في معيار أحرف Unicode ، الأحرف التكميلية هي الأحرف المعينة لنقاط الرمز من U + 10000 إلى U + 10FFFF. بمعنى آخر ، هذه هي أحرف Unicode الأكبر من U + FFFF.
- في UTF-8 ، يبلغ طول هذه الأحرف 4 بايت.
- في UTF-16 ، تتطلب هذه الأحرف بديلين (وحدات 16 بت).
تقديم أحرف تكميلية Unicode في الإخراج PDF بواسطة Aspose.Cells
توضح لقطة الشاشة التالية كيف قدم Aspose.Cells ملفملف اكسل المصدر داخل الالإخراج PDF. كما ترى ، تم تقديم جميع أحرف Unicode التكميلية الثلاثة تمامًا كما فعلت بواسطة Microsoft Excel.
عينة من الرموز
يمكنك استخدام نموذج التعليمات البرمجية هذا للتحويلملف اكسل المصدر داخلالإخراج PDF.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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"); |