Hello Groupdocs team,
We are trying to create a report using dynamic background colors for certain data tags.
The documentation for the background color (Changing Background Color Dynamically | GroupDocs.Assembly for .NET)
lists the following:
<<backColor[“red”]>> text her e <>
In our case, we need to assign the backcolor based on data provided in the data source; so it needs to be a tag- e.g.:
<<var [color = “red”]>>
<<backColor[color]>> text her e <>
This is not an issue. However the format we have the color in availlable are hex codes; in the case of red:
#ff0000, however these colors can be quite varied.
I’ve not been able to get the assembly engine to pick up the hex code colors properly using the backColor tag. Is this possible?
Alternatively, if we can simply give a css style, e.g.
style=‘background-color:#FF8000;font-style:italic;text-decoration:underline;’
That would be ideal but I have not found anything about this in the documentation. Is there some way to put this in dynamically?
We are using the latest version of the groupdocs assembly engine.
Kind regards,
Terraindex.