Spread for ASP.NET 11 Product Documentation
FileImageRender Constructor()
Example 


FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > FileImageRender Class > FileImageRender Constructor : FileImageRender Constructor()
Initializes a new instance of the FileImageRender class.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New FileImageRender()
public FileImageRender()
Example
This example saves the chart image to a file.
this.FpChart1.ImageRender = new FarPoint.Web.Chart.FileImageRender();
FpChart1.ChartImageType = FarPoint.Web.Chart.ImageType.Jpeg;
FpChart1.JpegQuality = 98;
FarPoint.Web.Chart.FileImageRender fileImageRender = this.FpChart1.ImageRender as FarPoint.Web.Chart.FileImageRender;
fileImageRender.ImageUrl = "test.jpg";
Me.FpChart1.ImageRender = New FarPoint.Web.Chart.FileImageRender()
FpChart1.ChartImageType = FarPoint.Web.Chart.ImageType.Jpeg
FpChart1.JpegQuality = 98
Dim fileImageRender As FarPoint.Web.Chart.FileImageRender = TryCast(Me.FpChart1.ImageRender, FarPoint.Web.Chart.FileImageRender)
fileImageRender.ImageUrl = "test.jpg"
See Also

Reference

FileImageRender Class
FileImageRender Members
Overload List