ChartDirector 7.1 (.NET Edition)

RazorViewPortControl.Image


Declaration

[C#]public WebImage Image {get; set;};
[VB]Public Property Image As WebImage

Description

Represent the chart image to be viewed.

WebImage is a ChartDirector internal data type to represent a chart image. A WebImage object can be created using BaseChart.makeWebImage, and then assigned to the Image property of the RazorViewPortControl for display.

The RazorViewPortControl will first output an <IMG> tag to the browser. When the browser loads the image according to the URL in the <IMG> tag, the RazorViewPortControl will respond by sending the chart image to the browser.