Change page header band text in Runtime
Posted: Sun Aug 08, 2021 12:25 pm
Hi
I'm using stimulsoft in Runtime (C# language script). So I need to change Page header band on every page in a FOR Loop . But Text of each page header bands is different with others.How to change Text for each page header band. this code did not work for me.
i'll be appreciated for Helping me.
I'm using stimulsoft in Runtime (C# language script). So I need to change Page header band on every page in a FOR Loop . But Text of each page header bands is different with others.How to change Text for each page header band. this code did not work for me.
Code: Select all
for(int i=0;i<10;i++)
{
StiText new_txt= ((StiText)headerBand.Components["report_title_text"]);
new_txt.Text= Page_title[i];
}