Public API Changements dans Aspose.Diagram 5.7.0

Définir les chaînes de modèle de date sur la chronologie

Les nouvelles propriétés DateFormatStringForBE et DateFormatStringForIntm ont été ajoutées dans la classe TimelineHelper. Exemples de codes :

C#

 // set DateFormat String for start and finish of timeline shape

timelineHelper.DateFormatStringForBE = "yyyy-MM-dd";

// set DateFormat String for intm of timeline shape

timelineHelper.DateFormatStringForIntm = "yyyy-MM-dd";

VB

 ' set DateFormat String for start and finish of timeline shape

timelineHelper.DateFormatStringForBE = "yyyy-MM-dd"

' set DateFormat String for intm of timeline shape

timelineHelper.DateFormatStringForIntm = "yyyy-MM-dd"