参考:http://bbs.csdn.net/topics/310126722
//更改一个文本框的内容
TextObject x;
x = (TextObject)myReport.ReportDefinition.ReportObjects[
"text4"
];
x.Text =
"我们的世界"
;
//调整字段的位置
FieldObject fo;
fo = (FieldObject)myReport.ReportDefinition.ReportObjects[
"NAME1"
];
fo.Height = 567 * 3;
fo.Width = 567 * 4;
fo.Left = 567 * 1;
//字段隐藏
fo.ObjectFormat.EnableSuppress = true;