Spread for ASP.NET 7.0 Product Documentation
KeepTransferStorage Property
See Also  Example Support Options
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > HttpHandlerImageRender Class : KeepTransferStorage Property


Glossary Item Box

Gets or sets the value whether to keep the chart instance in session or cache according to the value of ImageTransferStorage property.

Syntax

Visual Basic (Declaration) 
Public Overridable Property KeepTransferStorage As Boolean
Visual Basic (Usage)Copy Code
Dim instance As HttpHandlerImageRender
Dim value As Boolean
 
instance.KeepTransferStorage = value
 
value = instance.KeepTransferStorage
C# 
public virtual bool KeepTransferStorage {get; set;}

Example

This example uses the KeepTransferStorage property.
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

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.