Hi,
I am using arcgis runtime SDK 100.10 in WPF application. I have feature layer loaded from mobile geodatabse. The feature layer is having labels and label expressions are having text format tag for coloring the text. (e.g "<CLR red = '255'>" + "My label" + "</CLR>" ). This label is perfectly displaying with color in Mapview. But Sceneview displays in black color instead of red color. Is Text formating tags not supported in sceneview now?
Thanks,
karthi
Solved! Go to Solution.
Yes, Karthi. `clr` tags will be supported as soon as possible. The other tags supported in Runtime do appear to be working correctly in 3d scenes (`bol`,`ita`,`fnt`,`und`), but `clr` seems to have slipped through the net.
Hmmm. That's odd, Karthi. The 2d and 3d text rendering should be going through the same code path and have the same capabilities. I'll open an issue with the Runtime Text team to see if we can reproduce the problem and fix it. Thanks for the heads-up
If you are able, could verify whether setting the color within the TextSymbol for the LabelClass or LabelDefinition, rather than in the label expression, is changing the color as you would expect?
Thanks for looking into the issue.
Yes , setting color within the TextSymbol changing the color for all the labels in the LabelClass.
Will Scenview support formatting tags in future?
Thanks ,
Karthi
Yes, Karthi. `clr` tags will be supported as soon as possible. The other tags supported in Runtime do appear to be working correctly in 3d scenes (`bol`,`ita`,`fnt`,`und`), but `clr` seems to have slipped through the net.
Hi,
Is this support added in 100.12?
Thanks,
Karthi
Hi @RichardJShepherd , We have upgraded our application to 100.14. But "clr" tag is not working in scene view.
Thanks,
Karthi