search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

how to export cornerHtml text value ?

Asked by Anthony
25 days ago.

Hello

I put a text in the cornerHtml like that :

dp.cornerHtml = "something";

but when I export using dp.exportAs('png')

there's nothing in the corner

is there a way to put a text in this corner that will be included in the exported format ?

Thanks

Comment posted by Dan Letecky [DayPilot]
22 days ago.

Unfortunately, the corner export is not supported at the moment.

However, I'm checking if it is possible to add it - I'll keep you updated.

Answer posted by Dan Letecky [DayPilot]
19 days ago.

The corner content is now included in the exported image (since build 2021.4.5145).

By default, the corner will display the text specified using cornerText property:
https://api.daypilot.org/daypilot-scheduler-cornertext/

You can also customize the content during export using the new onBeforeCornerExport event:
https://api.daypilot.org/daypilot-scheduler-onbeforecornerexport/

Comment posted by Anthony
19 days ago.

Thank you !

New Reply
This reply is
Your name (optional):