MESCIUS SPREAD for ASP.NET 10.0J
ImageType 列挙体

出力画像の形式を指定します。
構文
'Declaration
 
Public Enum ImageType 
   Inherits System.Enum
public enum ImageType : System.Enum 
メンバ
メンバ説明
GifGIF(Graphics Interchange Format)画像形式。
JpegJPEG(Joint Photographic Experts Group)画像形式。
PngW3C PNG(Portable Network Graphics)画像形式。
次のサンプルコードは、ImageType列挙体を使用します。
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"
継承階層

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

参照

FarPoint.Web.Chart 名前空間

 

 


© MESCIUS inc. All rights reserved.