Page 1 of 1

Format Currency Programmatically

Posted: Thu Apr 04, 2019 2:13 pm
by waleedhm
how to set Format Currency Programmatically
Thanks in advance

Re: Format Currency Programmatically

Posted: Sat Apr 06, 2019 1:16 pm
by waleedhm
Any Help?

Re: Format Currency Programmatically

Posted: Sat Apr 06, 2019 10:52 pm
by Lech Kulikowski
Hello,

You can use the following code:
var txt = report.GetComponentByName("Text1") as StiText;
txt.TextFormat = new Stimulsoft.Report.Components.TextFormats.StiCustomFormatService("YourFormat");

Thank you.