Aspose.Email - Formatting an Appointment

Appointment appointment = Appointment.load("data/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));

Download Source Code
For More Examples, Please Visit Aspose Docs

Last edited Jun 11, 2014 at 7:30 PM by shoaibkhan, version 2