DayPilot.Month.onBeforeEventExport

Fired 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
  • args.text - event text
  • args.fontSize
  • args.fontFamily
  • args.fontStyle
  • args.fontColor
  • args.backColor
  • args.borderColor
  • args.horizontalAlignment ("left" | "right" | "center")