ReportDocument rptDoc = new ReportDocument(); rptDoc.Load(Environment.CurrentDirectory + @"\Test.rpt"); TextObject txtTest = (TextObject)rptDoc.ReportDefinition.ReportObjects["txtTest"]; txtTest.Text = "Test";
txtTest.Font.Bold = true;
System.Drawing.Font font1 = new System.Drawing.Font("Arial", 12, FontStyle.Bold); txtTest.ApplyFont(font1);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)