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


Glossary Item Box

Gets or sets the format of the output image.

Syntax

Visual Basic (Declaration) 
Public Property ChartImageType As ImageType
Visual Basic (Usage)Copy Code
Dim instance As FpChart
Dim value As ImageType
 
instance.ChartImageType = value
 
value = instance.ChartImageType
C# 
public ImageType ChartImageType {get; set;}

Example

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

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.