Class AppointmentFormattingOptions
Contents
[
Hide
]AppointmentFormattingOptions class
Templates that Appointment.GetAppointmentText uses to render the details of an appointment as plain text or HTML.
public class AppointmentFormattingOptions
Constructors
| Name | Description |
|---|---|
| AppointmentFormattingOptions() | Initializes a new instance of the AppointmentFormattingOptions class with the plain-text templates. |
Properties
| Name | Description |
|---|---|
| CssStyles { get; set; } | Gets or sets markup to add to the head of the HTML output, typically a <style> element. |
| DescriptionFormat { get; set; } | Gets or sets the template for the description. |
| EndDateFormat { get; set; } | Gets or sets the template for the end date and time. |
| IsTextFormat { get; } | Gets a value indicating whether the templates produce plain text rather than HTML. |
| LocationFormat { get; set; } | Gets or sets the template for the location. |
| OrganizerFormat { get; set; } | Gets or sets the template for the organizer. |
| StartDateFormat { get; set; } | Gets or sets the template for the start date and time. |
| TimezoneFormat { get; set; } | Gets or sets the template for the time zone. |
| TitleFormat { get; set; } | Gets or sets the template for the title (the summary of the appointment). |
Methods
| Name | Description |
|---|---|
| static CreateAsHtml() | Creates formatting options with the HTML templates. |
Remarks
Each template is a composite format string in which {0} is replaced by the value, for example Location: {0}. A new instance holds the plain-text templates; CreateAsHtml returns one with HTML templates. Setting a template to null or an empty string keeps the current one.
See Also
- namespace Aspose.Email.Calendar
- assembly Aspose.Email