That worked thanks! Other issue I'm having with this now is trying to get the HTML to work. I tried setting the EnableHtmlTextRending property for that event and also tried the other events from the documentation but none of them worked. This is what I'm setting as the text.
e.AppointmentElement.Text = time + "<b>" + t + "</b><br/>" + sx;
Dess | Tech Support Engineer, Principal
answered on 24 May 2017, 08:41 AM
Thank you for writing back.
In order to display HTML-like text in the print preview dialog, it is necessary to set the AppointmentElement.EnableHtmlTextRendering property to true in the AppointmentPrintElementFormatting event. In addition, the text must starts with "<html>". Here is a sample code snippet: