'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)
protected virtual byte[] GetImage( HttpContext context, string transferId, ImageTransferStorage imageTransferStorage, bool 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.