skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Use Reports in Applications
    • System Requirements
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now
Search all

Delegate CreateStream

Used by the rendering extension to obtain a stream.

Namespace: Telerik.Reporting.Processing
Assembly: Telerik.Reporting.dll

Syntax

public delegate Stream CreateStream(string name, string extension, Encoding encoding, string mimeType);
Parameters
System.String name

The name of the stream.

System.String extension

The type of the rendering extension.

System.Text.Encoding encoding

The encoding used by the stream.

System.String mimeType

The MIME type of the stream.

Returns
System.IO.Stream

The stream to be used by the Reporting engine.

Remarks

The stream created by the CreateStream delegate is used by the Reporting engine and for best performance it is not advisable to be closed.

Constructors

CreateStream(Object, IntPtr)

Declaration
public CreateStream(object object, IntPtr method)
Parameters
System.Object object

System.IntPtr method

Methods

BeginInvoke(String, String, Encoding, String, AsyncCallback, Object)

Declaration
public virtual IAsyncResult BeginInvoke(string name, string extension, Encoding encoding, string mimeType, AsyncCallback callback, object object)
Parameters
System.String name

System.String extension

System.Text.Encoding encoding

System.String mimeType

System.AsyncCallback callback

System.Object object

Returns
System.IAsyncResult

EndInvoke(IAsyncResult)

Declaration
public virtual Stream EndInvoke(IAsyncResult result)
Parameters
System.IAsyncResult result

Returns
System.IO.Stream

Invoke(String, String, Encoding, String)

Declaration
public virtual Stream Invoke(string name, string extension, Encoding encoding, string mimeType)
Parameters
System.String name

System.String extension

System.Text.Encoding encoding

System.String mimeType

Returns
System.IO.Stream

Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.