ChartDirector 7.1 (.NET Edition)

RazorViewPortControl


RazorViewPortControl is the server side counterpart to the browser side Javascript JsViewPortControl, which provides a user interface for visualization of the viewport in relation to the "full range", and supports interactive moving and resizing of the viewport. RazorViewPortControl generates the necessary HTML tags to allow the JsViewPortControl to perform its functions.

Properties
NameDescription
ImageRepresent the chart image to be viewed.
ImageUrlGets or sets the URL used by the <IMG> tag to load the chart image.
ChartMetricsGets or sets the chart metrics of the chart.
ContentDispositionThe suggested filename to use when user saves the chart image as a file on the browser side.

Methods
NameDescription
RazorViewPortControlCreates a new RazorViewPortControl object.