Memformat Janji dalam Aspose.Email

Aspose.Email - Memformat Janji

Kelas AppointmentFormattingOptions dapat digunakan untuk memformat janji dalam format teks dan HTML.

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));

Unduh Kode yang Berjalan

Unduh Kode Contoh