SmartClient version v10.1p_2016-11-11/PowerEdition deployment ( built 2016-11-11)
Im exporting to PDF, I have a VLayout where setBackgroundColor("black") is called. The page is rendered as expected with the background color appearing black. When the component is exported toPDF the background color in the PDF is white which is the default. ( the setBackgroundColor seems to have no affect on the PDF rendering )
If I remove the setBackgroundColor and a add a styleName for an associated style I created to set the background to black the PDF export is styled as expected with the black background.
I haven't investigated every place I set styling in the code ( similar to setBackgroundColor, setColWidth, etc ) but it looks to me like none of these are being applied to the exported PDF.
Is this the expected behavior or am I missing something
Thanks
Im exporting to PDF, I have a VLayout where setBackgroundColor("black") is called. The page is rendered as expected with the background color appearing black. When the component is exported toPDF the background color in the PDF is white which is the default. ( the setBackgroundColor seems to have no affect on the PDF rendering )
If I remove the setBackgroundColor and a add a styleName for an associated style I created to set the background to black the PDF export is styled as expected with the black background.
I haven't investigated every place I set styling in the code ( similar to setBackgroundColor, setColWidth, etc ) but it looks to me like none of these are being applied to the exported PDF.
Is this the expected behavior or am I missing something
Thanks
Comment