Formatieren eines Termins in Aspose.Email

Aspose.Email – Termin formatieren

Die Klasse AppointmentFormattingOptions kann verwendet werden, um einen Termin im Text‑ und HTML‑Format zu formatieren.

Java


 Appointment appointment = Appointment.load(dataDir + "appointment.ics");

AppointmentFormattingOptions formattingOptions = new AppointmentFormattingOptions();

formattingOptions.setLocationFormat("Where: {0}");

formattingOptions.setTitleFormat("Subject: {0}");

formattingOptions.setDescriptionFormat("\r\n*~*~*~*~*~*~*~*~*~*\r\n{0}");

System.out.println(appointment.getAppointmentText(formattingOptions));

Laufenden Code herunterladen

Beispielcode herunterladen