تقديم نمط تاريخ مخصص g وge mm dd

Contents
[ ]

يقوم الكود النموذجي التالي بتحويل [ملف Excel المصدر] (5112361.xlsx) الذي يحتوي على قيم تاريخية بأنماط صيغ مخصصة مثل g و ge.mm.dd إلى [PDF الناتج] (5112360.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);
Workbook workbook = new Workbook(dataDir + "SourceFile.xlsx");
workbook.Save(dataDir + "CustomDateFormat_out.pdf");