Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
710
How set a title for the report
posted

Hellos friend, i have a problem I am using the report to print a control xamchart, but what I want to know how I can add a title and some description to the impression, because I only get the graphic and nothing more. This is the code that i use

 

 

private void btnImprimir_Click(object sender, RoutedEventArgs e)

{

 

 

Report reportObj = new Report();

 

 

EmbeddedVisualReportSection seccion = new EmbeddedVisualReportSection(xcActividades);

 

 

reportObj.Sections.Add(seccion);

 

 

// Optional. If you have progress indicator set its Report property to created report

 

 

//progressInfo.Report = reportObj;

 

 

reportObj.Print(true,false);

}

As I can also export the report to excel?