עיצוב פגישה ב‑Aspose.Email

Aspose.Email - עיצוב פגישה

המחלקה AppointmentFormattingOptions יכולה לשמש לעיצוב הפגישה בטקסט ובפורמט 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));

הורד קוד רץ

הורד קוד לדוגמה