تقديم نمط تنسيق التاريخ المخصص g و ge mm dd
Contents
[
Hide
]
Aspose.Cells قادر الآن على تقديم أنماط تنسيق التاريخ المخصصة مثل g و ge.mm.dd وما شابه ذلك. يرجى التحقق من المرفقملف اكسل المصدر و التحويل PDF بواسطة Aspose.Cells للرجوع اليها.
نموذج التعليمات البرمجية التالي يحولملف اكسل المصدر الذي يحتوي على قيم التاريخ بأنماط تنسيق مخصصة مثل g و ge.mm.dd إلىالإخراج PDF.
This file contains 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); | |
Workbook workbook = new Workbook(dataDir + "SourceFile.xlsx"); | |
workbook.Save(dataDir + "CustomDateFormat_out.pdf"); |