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

चल रहा कोड डाउनलोड करें

नमूना कोड डाउनलोड करें