Spread ASP.NET 6.0 Product Documentation
ImageTransferStorage Enumeration
Example  See Also  Send Feedback
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace : ImageTransferStorage Enumeration


Glossary Item Box

Specified storage mode of saving chart image in memory.

Syntax

Visual Basic (Declaration) 
Public Enum ImageTransferStorage 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As ImageTransferStorage
C# 
public enum ImageTransferStorage : System.Enum 

Members

MemberDescription
CacheSaving chart image in Cache.
SessionSaving chart image in Session.

Example

This example uses the ImageTransferStorage enumeration.
C#Copy Code
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;
Visual BasicCopy Code
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

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.