توسيع النص من اليمين إلى اليسار أثناء تصدير ملف Excel إلى HTML
توسيع النص من اليمين إلى اليسار أثناء تصدير ملف Excel إلى HTML
الشيفرة النموذجية التالية تحول ملف excel عينة إلى HTML. تظهر هذه اللقطة الشاشة كيفية شكل ملف excel العينة في Microsoft Excel 2013.
تظهر هذه اللقطة الشاشة HTML الناتج المولد بالإصدار القديم.
تظهر هذه اللقطة الشاشة HTML الناتج المولد بالإصدار الجديد.
كما ترون في اللقطات الشاشة، الإصدار الجديد يوسع النص المُمحى إلى اليسار بشكل صحيح تماماً مثل Microsoft Excel.
// 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 source excel file inside the workbook object | |
Workbook wb = new Workbook(dataDir + "sample.xlsx"); | |
// Save workbook in html format | |
wb.Save(dataDir + "ExpandTextFromRightToLeft_out_" + CellsHelper.GetVersion() + ".html", SaveFormat.Html); |