How can I create an object in FR via Visual Studio C#
In FR Studio, how can I create an object via Microsoft Visual Studio C# 2005?
For example, I can create new variable for FR from VS c#. I would like to know how to create an object such as charts, lines and set their properties?
Below is my code but I don't know what is next.
private void button1_Click(object sender, EventArgs e)
report = report = new TfrxReportClass();
report.LoadReportFromFile("C:/Report/Untitle-1.fr3");
report.... (what I have to insert into these lines)......
report.ShowReport();
For example, I can create new variable for FR from VS c#. I would like to know how to create an object such as charts, lines and set their properties?
Below is my code but I don't know what is next.
private void button1_Click(object sender, EventArgs e)
report = report = new TfrxReportClass();
report.LoadReportFromFile("C:/Report/Untitle-1.fr3");
report.... (what I have to insert into these lines)......
report.ShowReport();
Comments
To create an object such as charts, lines, report pages, and so on, you may use following method of TfrxReportClass:
This method returns base interface IfrxComponent that is parent interface for any report object.
You may look into following demos that use CreateReportObject method:
"C:\Program Files\FastReports\FastReport Studio\Examples\VisualC#.NET\BuiltinADO_Demo"
"C:\Program Files\FastReports\FastReport Studio\Examples\VisualC#.NET\ChartsDemo"
"C:\Program Files\FastReports\FastReport Studio\Examples\VisualC#.NET\CrossView_demo"