we can control every object in the report.
for example, we control one textboxObject and one filedObject
use ReportDocument to control.
ReportDocument myReport = new ReportDocument();
string reportPath = Server.MapPath("crystalreport1.rpt");
myReport.Load(reportPath);
//set datasource or database logon information
//...
CrystalReportViewer1.ReportSource = myReport;
//control the report object
//one textbox named "Text1",set its Left/Top ,and Its Text
//this is a common object
myReport.ReportDefinition.ReportObjects["Text1"].Left=567*2; //2cm
//control textboxobject
TextObject x;
x = (TextObject)myReport.ReportDefinition.ReportObjects["Text1"];
x.Text = "Customize Text";
//control fieldObject
//fieldObjectName<>filedname, right click the field,get the fieldnane(object name)
FieldObject fo;
fo = (FieldObject)myReport.ReportDefinition.ReportObjects["fieldObjectName"];
fo.Height = 567 * 3;
fo.Width = 567 * 4;
fo.Left = 567 * 1;