ChartDirector 7.1 (.NET Edition)

RazorViewPortControl.ImageUrl


Declaration

[C#]public string ImageUrl {get; set;};
[VB]Public Property ImageUrl As String

Description

Gets or sets the URL used by the <IMG> tag to load the chart image.

If the chart image is assigned to the RazorViewPortControl with RazorViewPortControl.Image, the RazorViewPortControl will generate the URL automatically and it is not necessary to set the ImageUrl property.

However, if your code is using alternate output methods, such as creating the chart as a temporary image file using BaseChart.makeTmpFile, you may use the ImageUrl property to set the URL that can be used to load the chart image. Please refer to ASP.NET Output Methods with Viewers for additional information.