Spread ASP.NET 6.0 Product Documentation
ImageType Enumeration
Example  See Also  Send Feedback
FarPoint.Web.Chart Assembly > FarPoint.Web.Chart Namespace : ImageType Enumeration


Glossary Item Box

Specifies the format of the output image.

Syntax

Visual Basic (Declaration) 
Public Enum ImageType 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As ImageType
C# 
public enum ImageType : System.Enum 

Members

MemberDescription
GifGraphics Interchange Format (GIF) image format.
JpegJoint Photographic Experts Group (JPEG) image format.
PngW3C Portable Network Graphics (PNG) image format.

Example

This example uses the ImageType enumeration.
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"

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Chart.ImageType

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.