How to set color to text or label using document.openxml
I think you have to elaborate a little more around what you are trying to achieve in orde for us to be able to provide you any good help.
Do you have a page you use for opening an xml document or do you want to display a color coded xml document?
Hi, sorry I'm not sure if this is possible in NAV, you can try adding the controls below first.
DocumentFormat.OpenXml.dll
https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.diagrams.stylelabel?view=openxml-2.8.1
https://learn.microsoft.com/en-za/dotnet/api/documentformat.openxml.drawing.diagrams.colortransformstylelabel?view=openxml-2.8.1
How to: Install a Windows Client Control Add-in Assembly
https://learn.microsoft.com/en-us/dynamics-nav/how-to--install-a-windows-client-control-add-in-assembly
Hope this can give you some hints.
Thanks,
ZHU
I am using "Microsoft.Dynamics.Nav.OpenXml" assembly to generate Excel file and using
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Rishabh Kanaskar 4,285
Sumit Singh 2,725
Nimsara Jayathilaka. 2,526