Formatando um Compromisso no Aspose.Email

Aspose.Email - Formatando um Compromisso

A classe AppointmentFormattingOptions pode ser usada para formatar o compromisso em formato texto e 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));

Baixar Código em Execução

Baixar Código de Exemplo