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

how to export cornerHtml text value ?

Asked by Anthony
6 months ago.


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 ?


Comment posted by Dan Letecky [DayPilot]
6 months 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]
6 months 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:

You can also customize the content during export using the new onBeforeCornerExport event:

Comment posted by Anthony
6 months ago.

Thank you !

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.