Printing a Report from Code
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.Render the report in .NET 6.0 and start the print workflow with settings supplied by the application.
Printing from code. Load and render the report, apply the printer settings, and start the print workflow from application code.
На скриншоте ниже Вы можете увидеть результат выполнения данного кода:

Printing from code. Load and render the report, apply the printer settings, and start the print workflow from application code.
var report = new StiReport();
report.Load(@"Reports\TwoSimpleLists.mrt");
report.PrintWithWpf();PrintWithWpf() renders the report if needed and opens the WPF print dialog, so the document is printed with the platform's native printing support. It is the WPF counterpart of the viewer's print command.На скриншоте ниже Вы можете увидеть результат выполнения данного кода:
