Used to specify the viewport location.
Namespace:
Imsl.Chart2D
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public virtual void SetViewport( double xmin, double xmax, double ymin, double ymax ) |
Visual Basic (Declaration) |
---|
Public Overridable Sub SetViewport ( _ xmin As Double, _ xmax As Double, _ ymin As Double, _ ymax As Double _ ) |
Visual C++ |
---|
public: virtual void SetViewport( double xmin, double xmax, double ymin, double ymax ) |
Parameters
- xmin
- Type: System..::.Double
A double specifying the left side of the viewport.
- xmax
- Type: System..::.Double
A double specifying the right side of the viewport.
- ymin
- Type: System..::.Double
A double specifying the bottom of the viewport.
- ymax
- Type: System..::.Double
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.