How to programmatically set the values of Format
Question: How to programmatically set the values of Format
Answer:
You can do this in script or in your project using this code:
1 2 3 4 5 |
FastReport.Format.NumberFormat format = new FastReport.Format.NumberFormat(); format.UseLocale = false; format.DecimalDigits = 2; format.DecimalSeparator = "."; format.GroupSeparator = ","; |
and following that:
1 2 |
textObject.Formats.Clear(); textObject.Formats.Add(format); |