Spread for ASP.NET 10 Product Documentation
GetImage Method (ChartImageHttpHandler)


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
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.
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

ChartImageHttpHandler Class
ChartImageHttpHandler Members

 

 


Copyright © GrapeCity, inc. All rights reserved.