MESCIUS SPREAD for ASP.NET 10.0J
ChartImageType プロパティ

出力画像の形式を取得または設定します。
構文
'Declaration
 
Public Property ChartImageType As ImageType
public ImageType ChartImageType {get; set;}
次のサンプルコードは、ChartImageTypeプロパティを使用します。
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"
参照

FpChart クラス
FpChart メンバ
ImageType 列挙体
ImageType 列挙体

 

 


© MESCIUS inc. All rights reserved.