Fired 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.
DayPilot.Month.onBeforeHeaderExport(args);