Spread for ASP.NET 8.0 Product Documentation
ImageTransferStorage Property
Example 


Gets or sets the storage mode of saving chart image in memory.
Syntax
'Declaration
 
Public Overridable Property ImageTransferStorage As ImageTransferStorage
'Usage
 
Dim instance As HttpHandlerImageRender
Dim value As ImageTransferStorage
 
instance.ImageTransferStorage = value
 
value = instance.ImageTransferStorage
public virtual ImageTransferStorage ImageTransferStorage {get; set;}
Example
This example uses the ImageTransferStorage property.
this.FpChart1.ImageRender = new FarPoint.Web.Chart.HttpHandlerImageRender();
FarPoint.Web.Chart.HttpHandlerImageRender httpHandlerRender = this.FpChart1.ImageRender as FarPoint.Web.Chart.HttpHandlerImageRender;
httpHandlerRender.ImageTransferStorage = FarPoint.Web.Chart.ImageTransferStorage.Session; //or cache
httpHandlerRender.TransferId = "123";
httpHandlerRender.KeepTransferStorage = true;
Me.FpChart1.ImageRender = New FarPoint.Web.Chart.HttpHandlerImageRender()
Dim httpHandlerRender As FarPoint.Web.Chart.HttpHandlerImageRender = TryCast(Me.FpChart1.ImageRender, FarPoint.Web.Chart.HttpHandlerImageRender)
httpHandlerRender.ImageTransferStorage = FarPoint.Web.Chart.ImageTransferStorage.Session 'or cache
httpHandlerRender.TransferId = "123"
httpHandlerRender.KeepTransferStorage = True
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

Reference

HttpHandlerImageRender Class
HttpHandlerImageRender Members

 

 


Copyright © GrapeCity, inc. All rights reserved.