Hi,
I want to display text on a page with background color set to say blue and text color white.
How do we do this on the page element?
Let me know.
Display text with backgroun color
Re: Display text with backgroun color
Support · Feb 23, 2009Hello,
You can set the text color using the TextColor property of the Label or TextArea page elements.
There is no direct way of setting background color for the text, however you can do this by using a Rectangle page element. You will have to add a rectangle with some fill color without a boarder and add the label with some text color on the rectangle. This will display as you wanted with background and fore colors.
Thanks,
ceTe Software Support Team.
Re: Display text with backgroun color
Forum member · Feb 23, 2009Thanks! Can you let me know how do I add a Label to a rectangle?
Re: Display text with backgroun color
Support · Feb 23, 2009HEllo,
The page elements get added in the order in which you add them in your code. So in your case, first add a Rectangle and then add a Label. Doing this will place the Label on top of the Rectangle.
Thanks,
ceTe Software Support Team
Re: Display text with backgroun color
Forum member · Apr 14, 2010We have ie8 and the print background color thing is set. What else could be the issue that our background colors for our tables/rows are ignored. We are using vb.net for our development.
thanks,
MA
Re: Display text with backgroun color
Support · Apr 14, 2010Hello,
Are you using the DynamicPDF Converter for .NET product? Are you trying to convert HTML to PDF?
Thanks,
ceTe Software Support Team