Transparant background when printing or rather when saving PDF
Hi,
I need to create PDF's with a transparant background. This way I can easy add a letterhead with an drag and drop app I use. I tried to hack the css file in the @media:print section. Though I could change the background into a different solid color, I couldn't make it transparant. I tried different css values like rbga(), none and transparant.
Is there a way to make the background transparant in stead of white?
Thanks,
Pim Snel
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 04 Dec, 2013 05:09 PM
I'm not certain it's possible with the WebKit print system, but I'll see
if I can find a preference for it.
2 Posted by pim on 11 Dec, 2013 07:59 PM
I found the solution!
[self.webView setDrawsBackground:NO];
When using this, it completely respects transparency.
It would be great to have this as an option at least.
Thanks,
Pim
Support Staff 3 Posted by Brett on 11 Dec, 2013 08:56 PM
I believe I adjusted that already in the last update. If not, it will be in the next.