reporting-docs/embedding-reports/generate-reports-locally.md

47 строки
4.9 KiB
Markdown
Исходник Обычный вид История

Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
---
title: Generating Reports Locally
page_title: Generating Reports Locally
description: "Learn how to locally generate reports by using the embedded report engine when working with Telerik Reporting."
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
slug: telerikreporting/using-reports-in-applications/call-the-report-engine-via-apis/embedded-report-engine
previous_url: /using-reports-in-applications/call-the-report-engine-via-apis/embedded-report-engine
tags: telerik, reporting, embedding, reports, embedded, engine, generate, locally
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
published: True
position: 4
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
---
# Generating Reports Locally
Telerik Reporting allows you to use the embedded report engine and generate your reports locally.
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
## Requirements
Reporting md test (#412) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction * angular articles fixed * web designer articles edited * Html5 Viewer articles edited manually * Adding AssetManager paragraph in Wrd Overview * designing reports > report designer tools manually edited * minor modifications * some report-structure articles edited * minor report-structure modifications * removed and redirected legal articles * Update localizing-the-web-report-designer.md * kendo version and tokens fixed * Update _config.yml * updated chart and config.yaml * report-structure main articles edited * Update overview.md * tables for designing-reports fixed with style * web viewer's tables fixed * Graph edit (#337) * most graph articles edited * Update oracle-error-ora-01008-on-report-preview .md (#332) * graph articles edited * Update redirect.config * update * barcodes fixed manually * Update supported-types.md * Create How to write MD articles-guide on syntax.txt * tables folder fixed * report-structure - how-to edited * Update how-to-add-remove-page-header---footer-sections.md * map how-to edited * map - structure edited * map formatting-a-map edited * map edited * Update how-to-add-shapemapseries-to-the-map-item.md * Update connecting-the-objectdatasource-component-to-a-data-source.md * upgrade 2019-2022 edited * Angular viewer reference fixed * Angular viewer reference 2017-2018 updated * upgrade 2018 and some general changes * upgrade 2015-2017 edited * upgrade 2013-2014 edited * Update r1-2017.md * ReportBook TocReportSource update Added important note that ReportBook TocReportSource should contain only TOC section * Update how-to-set-a-no-data-message.md * Update How to write MD articles-guide on syntax.txt * Update How to write MD articles-guide on syntax.txt * web-applications main edited * web application blazor viewer edited * mvc viewer main folder edited * Update overview.md * mvc viewer all edited * final adjustments to mvc viewer * Update hyperlink-action.md * Update interactive-action-events.md * actions updated * Update manual-setup.md * mvc and web forms edited * some adjustments * Update interactive-vs.-print-layout.md * display reports in applications main edited * Update invoice-report-wizard.md * Update overview.md * old viewer edited * final fixes * Update _config.yml * fine adjustments * cubedatasource code formatting * win forms viewer edited * some adjustments * wpf viewer first edits * Update how-to-add-report-viewer-to-a-wpf-.net-framework-project.md * wpf viewer articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * Update setting-a-theme-(using-implicit-styles).md * silverlight viewer articles edited * adjustments * winui articles edited * Update how-to-add-report-viewer-to-a-.net-5-application.md * main using-reports-in-applications articles edited * Update dot-net-core-support.md * Update How to write MD articles-guide on syntax.txt * WCF services articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * service stack article edited * Update how-to-add-telerik-reporting-rest-servicestack-to-web-application.md * asp.net core web api articles edited * some adjustments * web api and web api core articles with adjustments * Re-add to_delete.md The file is required for styling. Also some final adjustments in web api implementation of REST Service in Documentation * reportsource resolver articles edited * introduction from Desi * rest storage articles edited * Update _config.yml version tokens updated * Create get-version.md * rest api ref articles edited * Update overview.md * Update get-version.md * Update utility-functions.md * formats and engine articles edited * some configuration articles edited Co-authored-by: Kaloyan Pavlov <kpavlov@progress.com> Co-authored-by: Mads Farner <33654386+madsfarner@users.noreply.github.com> Co-authored-by: Neli Todorova <32536500+nelci592@users.noreply.github.com>
2022-03-30 18:23:30 +03:00
To export a report, you can use the __[RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_)__ method of the [ReportProcessor](/reporting/api/Telerik.Reporting.Processing.ReportProcessor) class. This method converts the contents of the report to a byte array in the specified format, which you can then use with other classes such as [MemoryStream](http://msdn.microsoft.com/en-us/library/system.io.memorystream.aspx) or [FileStream](http://msdn.microsoft.com/en-us/library/system.io.filestream.aspx).
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
Reporting md test (#412) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction * angular articles fixed * web designer articles edited * Html5 Viewer articles edited manually * Adding AssetManager paragraph in Wrd Overview * designing reports > report designer tools manually edited * minor modifications * some report-structure articles edited * minor report-structure modifications * removed and redirected legal articles * Update localizing-the-web-report-designer.md * kendo version and tokens fixed * Update _config.yml * updated chart and config.yaml * report-structure main articles edited * Update overview.md * tables for designing-reports fixed with style * web viewer's tables fixed * Graph edit (#337) * most graph articles edited * Update oracle-error-ora-01008-on-report-preview .md (#332) * graph articles edited * Update redirect.config * update * barcodes fixed manually * Update supported-types.md * Create How to write MD articles-guide on syntax.txt * tables folder fixed * report-structure - how-to edited * Update how-to-add-remove-page-header---footer-sections.md * map how-to edited * map - structure edited * map formatting-a-map edited * map edited * Update how-to-add-shapemapseries-to-the-map-item.md * Update connecting-the-objectdatasource-component-to-a-data-source.md * upgrade 2019-2022 edited * Angular viewer reference fixed * Angular viewer reference 2017-2018 updated * upgrade 2018 and some general changes * upgrade 2015-2017 edited * upgrade 2013-2014 edited * Update r1-2017.md * ReportBook TocReportSource update Added important note that ReportBook TocReportSource should contain only TOC section * Update how-to-set-a-no-data-message.md * Update How to write MD articles-guide on syntax.txt * Update How to write MD articles-guide on syntax.txt * web-applications main edited * web application blazor viewer edited * mvc viewer main folder edited * Update overview.md * mvc viewer all edited * final adjustments to mvc viewer * Update hyperlink-action.md * Update interactive-action-events.md * actions updated * Update manual-setup.md * mvc and web forms edited * some adjustments * Update interactive-vs.-print-layout.md * display reports in applications main edited * Update invoice-report-wizard.md * Update overview.md * old viewer edited * final fixes * Update _config.yml * fine adjustments * cubedatasource code formatting * win forms viewer edited * some adjustments * wpf viewer first edits * Update how-to-add-report-viewer-to-a-wpf-.net-framework-project.md * wpf viewer articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * Update setting-a-theme-(using-implicit-styles).md * silverlight viewer articles edited * adjustments * winui articles edited * Update how-to-add-report-viewer-to-a-.net-5-application.md * main using-reports-in-applications articles edited * Update dot-net-core-support.md * Update How to write MD articles-guide on syntax.txt * WCF services articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * service stack article edited * Update how-to-add-telerik-reporting-rest-servicestack-to-web-application.md * asp.net core web api articles edited * some adjustments * web api and web api core articles with adjustments * Re-add to_delete.md The file is required for styling. Also some final adjustments in web api implementation of REST Service in Documentation * reportsource resolver articles edited * introduction from Desi * rest storage articles edited * Update _config.yml version tokens updated * Create get-version.md * rest api ref articles edited * Update overview.md * Update get-version.md * Update utility-functions.md * formats and engine articles edited * some configuration articles edited Co-authored-by: Kaloyan Pavlov <kpavlov@progress.com> Co-authored-by: Mads Farner <33654386+madsfarner@users.noreply.github.com> Co-authored-by: Neli Todorova <32536500+nelci592@users.noreply.github.com>
2022-03-30 18:23:30 +03:00
The [RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_) method has two overloads, the first is used when rendering a single stream, the second when rendering multiple streams. The available extensions used as first argument of the [RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_) method are listed in the [Export Formats]({%slug telerikreporting/using-reports-in-applications/export-and-configure/export-formats%}) article.
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
## Exporting a report to a single document format
Reporting md test (#412) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction * angular articles fixed * web designer articles edited * Html5 Viewer articles edited manually * Adding AssetManager paragraph in Wrd Overview * designing reports > report designer tools manually edited * minor modifications * some report-structure articles edited * minor report-structure modifications * removed and redirected legal articles * Update localizing-the-web-report-designer.md * kendo version and tokens fixed * Update _config.yml * updated chart and config.yaml * report-structure main articles edited * Update overview.md * tables for designing-reports fixed with style * web viewer's tables fixed * Graph edit (#337) * most graph articles edited * Update oracle-error-ora-01008-on-report-preview .md (#332) * graph articles edited * Update redirect.config * update * barcodes fixed manually * Update supported-types.md * Create How to write MD articles-guide on syntax.txt * tables folder fixed * report-structure - how-to edited * Update how-to-add-remove-page-header---footer-sections.md * map how-to edited * map - structure edited * map formatting-a-map edited * map edited * Update how-to-add-shapemapseries-to-the-map-item.md * Update connecting-the-objectdatasource-component-to-a-data-source.md * upgrade 2019-2022 edited * Angular viewer reference fixed * Angular viewer reference 2017-2018 updated * upgrade 2018 and some general changes * upgrade 2015-2017 edited * upgrade 2013-2014 edited * Update r1-2017.md * ReportBook TocReportSource update Added important note that ReportBook TocReportSource should contain only TOC section * Update how-to-set-a-no-data-message.md * Update How to write MD articles-guide on syntax.txt * Update How to write MD articles-guide on syntax.txt * web-applications main edited * web application blazor viewer edited * mvc viewer main folder edited * Update overview.md * mvc viewer all edited * final adjustments to mvc viewer * Update hyperlink-action.md * Update interactive-action-events.md * actions updated * Update manual-setup.md * mvc and web forms edited * some adjustments * Update interactive-vs.-print-layout.md * display reports in applications main edited * Update invoice-report-wizard.md * Update overview.md * old viewer edited * final fixes * Update _config.yml * fine adjustments * cubedatasource code formatting * win forms viewer edited * some adjustments * wpf viewer first edits * Update how-to-add-report-viewer-to-a-wpf-.net-framework-project.md * wpf viewer articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * Update setting-a-theme-(using-implicit-styles).md * silverlight viewer articles edited * adjustments * winui articles edited * Update how-to-add-report-viewer-to-a-.net-5-application.md * main using-reports-in-applications articles edited * Update dot-net-core-support.md * Update How to write MD articles-guide on syntax.txt * WCF services articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * service stack article edited * Update how-to-add-telerik-reporting-rest-servicestack-to-web-application.md * asp.net core web api articles edited * some adjustments * web api and web api core articles with adjustments * Re-add to_delete.md The file is required for styling. Also some final adjustments in web api implementation of REST Service in Documentation * reportsource resolver articles edited * introduction from Desi * rest storage articles edited * Update _config.yml version tokens updated * Create get-version.md * rest api ref articles edited * Update overview.md * Update get-version.md * Update utility-functions.md * formats and engine articles edited * some configuration articles edited Co-authored-by: Kaloyan Pavlov <kpavlov@progress.com> Co-authored-by: Mads Farner <33654386+madsfarner@users.noreply.github.com> Co-authored-by: Neli Todorova <32536500+nelci592@users.noreply.github.com>
2022-03-30 18:23:30 +03:00
Some formats (MHTML, PDF, XLS(X), RTF, DOCX, PPTX, CSV) produce a single document which is handled by the first overload of the [RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_) :
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
{{source=CodeSnippets\CS\API\Telerik\Reporting\Processing\ReportProcessorSnippets.cs region=Export_Single_Stream_Snippet}}
{{source=CodeSnippets\VB\API\Telerik\Reporting\Processing\ReportProcessorSnippets.vb region=Export_Single_Stream_Snippet}}
Reporting md test (#412) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction * angular articles fixed * web designer articles edited * Html5 Viewer articles edited manually * Adding AssetManager paragraph in Wrd Overview * designing reports > report designer tools manually edited * minor modifications * some report-structure articles edited * minor report-structure modifications * removed and redirected legal articles * Update localizing-the-web-report-designer.md * kendo version and tokens fixed * Update _config.yml * updated chart and config.yaml * report-structure main articles edited * Update overview.md * tables for designing-reports fixed with style * web viewer's tables fixed * Graph edit (#337) * most graph articles edited * Update oracle-error-ora-01008-on-report-preview .md (#332) * graph articles edited * Update redirect.config * update * barcodes fixed manually * Update supported-types.md * Create How to write MD articles-guide on syntax.txt * tables folder fixed * report-structure - how-to edited * Update how-to-add-remove-page-header---footer-sections.md * map how-to edited * map - structure edited * map formatting-a-map edited * map edited * Update how-to-add-shapemapseries-to-the-map-item.md * Update connecting-the-objectdatasource-component-to-a-data-source.md * upgrade 2019-2022 edited * Angular viewer reference fixed * Angular viewer reference 2017-2018 updated * upgrade 2018 and some general changes * upgrade 2015-2017 edited * upgrade 2013-2014 edited * Update r1-2017.md * ReportBook TocReportSource update Added important note that ReportBook TocReportSource should contain only TOC section * Update how-to-set-a-no-data-message.md * Update How to write MD articles-guide on syntax.txt * Update How to write MD articles-guide on syntax.txt * web-applications main edited * web application blazor viewer edited * mvc viewer main folder edited * Update overview.md * mvc viewer all edited * final adjustments to mvc viewer * Update hyperlink-action.md * Update interactive-action-events.md * actions updated * Update manual-setup.md * mvc and web forms edited * some adjustments * Update interactive-vs.-print-layout.md * display reports in applications main edited * Update invoice-report-wizard.md * Update overview.md * old viewer edited * final fixes * Update _config.yml * fine adjustments * cubedatasource code formatting * win forms viewer edited * some adjustments * wpf viewer first edits * Update how-to-add-report-viewer-to-a-wpf-.net-framework-project.md * wpf viewer articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * Update setting-a-theme-(using-implicit-styles).md * silverlight viewer articles edited * adjustments * winui articles edited * Update how-to-add-report-viewer-to-a-.net-5-application.md * main using-reports-in-applications articles edited * Update dot-net-core-support.md * Update How to write MD articles-guide on syntax.txt * WCF services articles edited * some adjustments * Update How to write MD articles-guide on syntax.txt * service stack article edited * Update how-to-add-telerik-reporting-rest-servicestack-to-web-application.md * asp.net core web api articles edited * some adjustments * web api and web api core articles with adjustments * Re-add to_delete.md The file is required for styling. Also some final adjustments in web api implementation of REST Service in Documentation * reportsource resolver articles edited * introduction from Desi * rest storage articles edited * Update _config.yml version tokens updated * Create get-version.md * rest api ref articles edited * Update overview.md * Update get-version.md * Update utility-functions.md * formats and engine articles edited * some configuration articles edited Co-authored-by: Kaloyan Pavlov <kpavlov@progress.com> Co-authored-by: Mads Farner <33654386+madsfarner@users.noreply.github.com> Co-authored-by: Neli Todorova <32536500+nelci592@users.noreply.github.com>
2022-03-30 18:23:30 +03:00
>note When you export programmatically to __XPS__, you should use a separate STA thread which is required by the underlying WPF UI elements that we use to create the XAML representation of the report.
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
Reporting md test (#294) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction * angular articles fixed * web designer articles edited * Html5 Viewer articles edited manually Co-authored-by: Kaloyan Pavlov <kpavlov@progress.com>
2022-01-19 22:42:49 +03:00
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
## Exporting a report to a multi document format
Some formats produce multiple files, for example HTML outputs all pages and related resources (images) in separate streams. In order to render a report in a non-single document format (HTML and IMAGE except TIFF) one should use the second [RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_Telerik_Reporting_Processing_CreateStream_System_String__) overload that accepts a [CreateStream](/reporting/api/Telerik.Reporting.Processing.CreateStream) callback.
> When exporting a [ReportBook]({%slug telerikreporting/designing-reports/report-book/overview%}) with the ReportProcessor in TIFF format you have to use the multi document format.
For this example we're going to render to JPEG, but you can render a report in all graphic formats that GDI+ supports natively - this includes BMP, GIF, JPEG, PNG, TIFF and metafile (EMF). The [Windows Forms Application]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/windows-forms-application/overview%}) uses internally metafile for rendering the reports for viewing, and TIFF for exporting. The rest of the formats are available only through code using the ReportProcessor.Render method where you should specify "IMAGE" as export format and the additional output format that is the actual graphic format - BMP, GIF, JPEG. Here is an example that renders a report as a JPEG image:
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
{{source=CodeSnippets\CS\API\Telerik\Reporting\Processing\ReportProcessorSnippets.cs region=Export_CreateStream_Callback_Snippet}}
{{source=CodeSnippets\VB\API\Telerik\Reporting\Processing\ReportProcessorSnippets.vb region=Export_CreateStream_Callback_Snippet}}
## See Also
Merge from reporting-MD-test to master (#291) * added config and readme * all MDs added * KB links changed to relative paths slugs don't work for KBs * designing-reports\report-sources edited * minor change * designing-reports\connecting-to-data main edited * designing-reports\connecting-to-data\troubleshooting edited * manually edited report parameters articles * MD articles refurbished * tip/note slugs not working fixed * added index for the api ref * added api ref docfx-tmpl * KBs referenced with slugs in edited articles Also index.md references made relative * Update telerik-reporting-r3-2016---upgrade-issues-with-objectdatasource-component.md * Update use-temporary-tables-in-stored-procedure.md * updated the tool and the MDs * data items - filtering data checked manually * verified datasource components main * templates and styles adapted from wpf * Add files via upload * see also and whitespace handled better * Update how-to-connect-to-a-sql-database.md * Update TodorReadme.txt * tokens values added in config * further improvement in whitespace handling * entitydatasource edited * some more datasource components edited * designing report - connecting to data articles finished * react article added * added test redirects * slug naming and autoredirects improved * main toc and trial banner fixed * react viewer added and tokens replaced * react articles correction * link fixed * react articles fixed to great extent * react articles nested lists and tables fixed * added new release and processing-element * redirects corrected * reporting overview redirect to introduction Co-authored-by: Todor Arabadzhiev <todor_ia@abv.bg> Co-authored-by: Todor Arabadzhiev <todor.arabadzhiev@progress.com>
2022-01-18 14:36:43 +03:00
* [RenderReport](/reporting/api/Telerik.Reporting.Processing.ReportProcessor#Telerik_Reporting_Processing_ReportProcessor_RenderReport_System_String_Telerik_Reporting_ReportSource_System_Collections_Hashtable_)