Spread for ASP.NET 11 Product Documentation
ImageTransferStorage Enumeration
Example Example 


FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace : ImageTransferStorage Enumeration
Specified storage mode of saving chart image in memory.
Syntax
'Declaration
 
Public Enum ImageTransferStorage 
   Inherits System.Enum
'Usage
 
Dim instance As ImageTransferStorage
public enum ImageTransferStorage : System.Enum 
Members
MemberDescription
CacheSaving chart image in Cache.
SessionSaving chart image in Session.
Example
This example uses the ImageTransferStorage enumeration.
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
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Chart.ImageTransferStorage

See Also

Reference

FarPoint.Web.Chart Namespace