Components of an already-rendered report can be changed on the fly and reflected in the viewer immediately — the basis for live, animated previews.

Render and grab components. After rendering, pull the components you want to animate from the first page:
stiReport1.Render();
var comps = stiReport1.RenderedPages[0].GetComponents();
text  = comps["Text1"]  as StiText;
chart = comps["Chart1"] as StiChart;
Mutate them on a timer. Changing their properties updates the live preview:
private void timer1_Tick(object sender, EventArgs e)
{
    text.TextOptions.Angle = (text.TextOptions.Angle - 1 + 360) % 360;
    ((StiDoughnutSeries)chart.Series[0]).StartAngle -= 1;
}

How it works. The preview control observes the rendered components, so property changes on a timer produce smooth real-time updates.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.