Spread ASP.NET 17
FarPoint.Web.Chart Assembly / FarPoint.Web.Chart Namespace / ChartImageHttpHandler Class / GetImage Method
An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
An unique Id to identify an chart image
A flag of where chart image is stored, Cache or Session.
Whether to remove the image from the transfer storage


In This Topic
    GetImage Method (ChartImageHttpHandler)
    In This Topic
    Get chart image from image transfer storage.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetImage( _
       ByVal context As HttpContext, _
       ByVal transferId As String, _
       ByVal imageTransferStorage As ImageTransferStorage, _
       ByVal keepTransferStorage As Boolean _
    ) As Byte()
    'Usage
     
    
    Dim instance As ChartImageHttpHandler
    Dim context As HttpContext
    Dim transferId As String
    Dim imageTransferStorage As ImageTransferStorage
    Dim keepTransferStorage As Boolean
    Dim value() As Byte
     
    value = instance.GetImage(context, transferId, imageTransferStorage, keepTransferStorage)

    Parameters

    context
    An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
    transferId
    An unique Id to identify an chart image
    imageTransferStorage
    A flag of where chart image is stored, Cache or Session.
    keepTransferStorage
    Whether to remove the image from the transfer storage

    Return Value

    Chart image data in a binary array.
    See Also