Note This feature is supported by version 17.12 or greater You can set text background color for Document contents dynamically using backColor tags.
The Code Note The code uses some of the objects defined in: The Business Layer Color Values A color expression of a backColor tag must return a value of one of the following types:
A string containing the name of a known color, that is, the case-insensitive name of a member of the KnownColor enumeration such as “red” A string containing a hex value: “#RRGGBB”, “#RGB” or “#AARRGGBB”, such as “#FF0000” (red) An integer value defining RGB (red, green, blue) components of the color such as 0xFFFF00 (yellow) A value of the Color type Note Hex strings are supported by version 26....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Assembly Product...