[]
        
(Showing Draft Content)

FarPoint.Web.Chart.ChartImageHttpHandler.GetImage

GetImage Method

GetImage(HttpContext, string, ImageTransferStorage, bool)

Get chart image from image transfer storage.

Declaration
protected virtual byte[] GetImage(HttpContext context, string transferId, ImageTransferStorage imageTransferStorage, bool keepTransferStorage)
Protected Overridable Function GetImage(context As HttpContext, transferId As String, imageTransferStorage As ImageTransferStorage, keepTransferStorage As Boolean) As Byte()
Parameters
Type Name Description
HttpContext context

An HttpContext object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.

string transferId

An unique Id to identify an chart image

ImageTransferStorage imageTransferStorage

A flag of where chart image is stored, Cache or Session.

bool keepTransferStorage

Whether to remove the image from the transfer storage

Returns
Type Description
byte[]

Chart image data in a binary array.