DayPilot.Month.onBeforeHeaderExport

The onBeforeHeaderExport 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.

Available since 2019.1.3554.

Declaration

DayPilot.Month.onBeforeHeaderExport(args);

Parameters

  • args.header.dayOfWeek (number; 0-6; 0 = Sunday)

  • args.backColor

  • args.fontSize

  • args.fontFamily

  • args.fontStyle

  • args.fontColor

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

  • args.text