Spread for ASP.NET 11 Product Documentation
ChartImageType Property
Example 


FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace > FpChart Class : ChartImageType Property
Gets or sets the format of the output image.
Syntax
'Declaration
 
Public Property ChartImageType As ImageType
'Usage
 
Dim instance As FpChart
Dim value As ImageType
 
instance.ChartImageType = value
 
value = instance.ChartImageType
public ImageType ChartImageType {get; set;}
Example
This example uses the ChartImageType property.
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

FpChart Class
FpChart Members
ImageType Enumeration
ImageType Enumeration