Spread ASP.NET 6.0 Product Documentation
GetImage Method
See Also  Send Feedback
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > ChartImageHttpHandler Class : GetImage Method


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

Glossary Item Box

Get chart image from image transfer storage.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function GetImage( _
   ByVal context As HttpContext, _
   ByVal transferId As String, _
   ByVal imageTransferStorage As ImageTransferStorage, _
   ByVal keepTransferStorage As Boolean _
) As Byte()
Visual Basic (Usage)Copy Code
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)
C# 
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.