DayPilot.Month.onBeforeEventExport

The onBeforeEventExport event is fired by the monthly calendar during image export and direct printing. It allows you to provide alternative text (instead of HTML) and customize the formatting.

Declaration

DayPilot.Month.onBeforeEventExport(args);

Parameters

  • args.e - exported event object (read-only)

  • args.text - event text

  • args.fontSize

  • args.fontFamily

  • args.fontStyle

  • args.fontColor

  • args.backColor

  • args.borderColor

  • args.horizontalAlignment ("left" | "right" | "center")