Format Currency Programmatically

Stimulsoft Reports.NET discussion
Post Reply
waleedhm
Posts: 39
Joined: Fri May 31, 2013 1:26 pm

Format Currency Programmatically

Post by waleedhm »

how to set Format Currency Programmatically
Thanks in advance
Attachments
xxfff.png
xxfff.png (25.07 KiB) Viewed 967 times
waleedhm
Posts: 39
Joined: Fri May 31, 2013 1:26 pm

Re: Format Currency Programmatically

Post by waleedhm »

Any Help?
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Format Currency Programmatically

Post 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.
Post Reply