Spread for ASP.NET 9.0 Product Documentation
ImageRender Property
Example 


Gets or sets the image renderer.
Syntax
'Declaration
 
Public Property ImageRender As ImageRender
'Usage
 
Dim instance As FpChart
Dim value As ImageRender
 
instance.ImageRender = value
 
value = instance.ImageRender
public ImageRender ImageRender {get; set;}
Remarks
There are 2 built-in image renderers, HttpHandlerImageRender and FileImageRender. The default image renderer is HttpHandlerImageRender.
Example
This example uses the ImageRender 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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FpChart Class
FpChart Members

 

 


Copyright © GrapeCity, inc. All rights reserved.