Hello,
how can I set the <linked>-Option to all Componets in a quick way ?
Sometimes, when I open a report in the designer, some components are shifted a lot.
When I reopend it, all componets find her correct position.
I work on a Windows10/64-bit with i7, 2 kernel, 4 logical processors,
stimulsoft-version: 2020.5.2
Thanks and regards
Uwe
Components should be linked
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Components should be linked
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
foreach(var reportComponent in report.GetComponents())
{
((StiComponent)reportComponent).Linked = true;
}
Re: Components should be linked
Hello,
and how can I integrate it in the DesignerSaveDialog ?
string file = "abc.mrt";
StiReport report = new Stimulsoft.Report.StiRepüort();
report.Load(file);
report.Design();
Thanks
Uwe
and how can I integrate it in the DesignerSaveDialog ?
string file = "abc.mrt";
StiReport report = new Stimulsoft.Report.StiRepüort();
report.Load(file);
report.Design();
Thanks
Uwe
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Components should be linked
Hello,
You can use the following code:
Thank you.
You can use the following code:
Code: Select all
string file = "abc.mrt";
StiReport report = new Stimulsoft.Report.StiRepüort();
report.Load(file);
foreach(var reportComponent in report.GetComponents())
{
((StiComponent)reportComponent).Linked = true;
}
report.Design();