Hi,
I'm building manually a Report (by code) and I need to format the Totals (Aggregate Functions) at the bottom of the report
...
Dim fText As StiText = New StiText(New RectangleD(pos, 0.3, columnWidth - gap, 0.5))
Dim func As String = "Sum"
fText.Name = "fText" + nameIndex.ToString()
fText.HorAlignment = StiTextHorAlignment.Right
fText.VertAlignment = StiVertAlignment.Center
fText.TextFormat = New Stimulsoft.Report.Components.TextFormats.StiNumberFormatService(1, ",", 2, ".", 3, True, True, " ")
fText.Text = String.Concat(func, ": {", func, "(Result." + Stimulsoft.Report.CodeDom.StiCodeDomSerializator.ReplaceSymbols(dataColumn.ColumnName) + ")}")
fText.ComponentStyle = "StyleTitoloLista"
footerBand.Components.Add(fText)
...
I'm setting TextFormat but nothing happens in the resulting report
Am I doing sometyhing wrong?
Thanks in advance
michele
Formatting Result of Aggregate Functions
Re: Formatting Result of Aggregate Functions
Hello.
Could you send us a sample project which reproduces the issue?
Thank you.
Could you send us a sample project which reproduces the issue?
Thank you.