Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Discard colour when prints

Avatar

Level 7

I have apply a solid colour as background for a subform.

Is it possible when prints to discard the background colour?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

You can use the following in the prePrint event of the subform:

this.border.fill.presence = "invisible";

and this in the postPrint:

this.border.fill.presence = "visible";

Good luck,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

You can use the following in the prePrint event of the subform:

this.border.fill.presence = "invisible";

and this in the postPrint:

this.border.fill.presence = "visible";

Good luck,

Niall