Spread for ASP.NET 10 Product Documentation
ImageUrl Property (FileImageRender)
Example 


Gets or sets the path and filename of the image file to be generated.
Syntax
'Declaration
 
Public Overridable Property ImageUrl As String
'Usage
 
Dim instance As FileImageRender
Dim value As String
 
instance.ImageUrl = value
 
value = instance.ImageUrl
public virtual string ImageUrl {get; set;}
Remarks
If ImageUrl is empty, these names are automatically manufactured by the web chart control.
Example
This example saves the chart image to a file.
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"
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FileImageRender Class
FileImageRender Members

 

 


Copyright © GrapeCity, inc. All rights reserved.