Text formatting style / background color options

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.

@TerraIndexService
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): ASSEMBLYNET-235

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@TerraIndexService

You can use this Template.zip (5.9 KB) and following code to fulfill the requirement:

DocumentAssembler assembler = new DocumentAssembler();
assembler.AssembleDocument("Test.xlsx", "Test Out.xlsx", new DataSourceInfo("#ff0000", "color"));