Spread ASP.NET 16
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / ChartImageHttpHandler Class / RenderImage Method
A byte array of an image which is written to the response output stream.
A image type string which is used to create the response content type for the image.


In This Topic
    RenderImage Method (ChartImageHttpHandler)
    In This Topic
    Render image to reponse stream of the current HttpContext.
    Syntax
    'Declaration
     
    Protected Overridable Sub RenderImage( _
       ByVal image() As Byte, _
       ByVal imageType As String, _
       ByVal context As HttpContext _
    ) 
    'Usage
     
    Dim instance As ChartImageHttpHandler
    Dim image() As Byte
    Dim imageType As String
    Dim context As HttpContext
     
    instance.RenderImage(image, imageType, context)
    protected virtual void RenderImage( 
       byte[] image,
       string imageType,
       HttpContext context
    )

    Parameters

    image
    A byte array of an image which is written to the response output stream.
    imageType
    A image type string which is used to create the response content type for the image.
    context
    See Also