Spread for ASP.NET 7.0 Product Documentation
GetImage Method
See Also  Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.