Skip to content

Instantly share code, notes, and snippets.

@giansalex
Created November 24, 2017 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save giansalex/cbc9bb69d4c8aa6ca4749fcad511d723 to your computer and use it in GitHub Desktop.
Save giansalex/cbc9bb69d4c8aa6ca4749fcad511d723 to your computer and use it in GitHub Desktop.
StiReport report1 = new StiReport();
report1.RegData(dataSet1);
report1.Load("SimpleList.mrt");
report1.ReportDescription = "Demostracion de lista de clientes";
// Export PDF
report1.Render(false);
report1.ExportDocument(StiExportFormat.Pdf, "my.pdf");
Process.Start("my.pdf");
// Designer
StiDesigner d = new StiDesigner(report1);
d.ShowDesigner();
// Designer 2
report1.Design();
// View Report
report1.Show(true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment