ChartNodeSetViewport Method (Double, Double, Double, Double) |
Used to specify the viewport location.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void SetViewport(
double xmin,
double xmax,
double ymin,
double ymax
)
Public Overridable Sub SetViewport (
xmin As Double,
xmax As Double,
ymin As Double,
ymax As Double
)
public:
virtual void SetViewport(
double xmin,
double xmax,
double ymin,
double ymax
)
abstract SetViewport :
xmin : float *
xmax : float *
ymin : float *
ymax : float -> unit
override SetViewport :
xmin : float *
xmax : float *
ymin : float *
ymax : float -> unit
Parameters
- xmin
- Type: SystemDouble
A double specifying the left side of the viewport.
- xmax
- Type: SystemDouble
A double specifying the right side of the viewport.
- ymin
- Type: SystemDouble
A double specifying the bottom of the viewport.
- ymax
- Type: SystemDouble
A double specifying the top of the viewport.
Remarks
The viewport is the subregion of the drawing surface where the plot
is to be drawn. "Viewport" coordinates are [0,1] by [0,1] with (0,0)
in the lower left corner. The "Viewport" attribute affects only Axis
nodes, since they contain the mappings to device space.
See Also