Reading content of StiText after finished rendering
Posted: Wed Nov 16, 2016 7:20 pm
Hello,
I want to read the content of a StiText component from the rendered report.
Here are my codesnippets of my experiments.
Report.RenderWithWpf(false);
foreach (StiPage page in Report.RenderedPages.Items) {
StiText metaText05 = (StiText) page.GetComponents()["Text05"];
StiText metaText06 = (StiText) page.GetComponents()["Text06"];
}
The metaText05.Text.Value and metaText06.Text.Value always are empty.
How do I have to write it so it works properly.
Thank you
Prandl
I want to read the content of a StiText component from the rendered report.
Here are my codesnippets of my experiments.
Report.RenderWithWpf(false);
foreach (StiPage page in Report.RenderedPages.Items) {
StiText metaText05 = (StiText) page.GetComponents()["Text05"];
StiText metaText06 = (StiText) page.GetComponents()["Text06"];
}
The metaText05.Text.Value and metaText06.Text.Value always are empty.
How do I have to write it so it works properly.
Thank you
Prandl