GRAPHIC GET SCALE statement

Purpose

Retrieve the current coordinate limits for the graphic target.

Syntax

GRAPHIC GET SCALE TO x1!, y1!, x2!, y2!

Remarks

GRAPHIC SCALE allows you to define your own world coordinate system for subsequent GRAPHIC statements.  World coordinates may be floating point values, with the only requirement that x1! not equal x2!, and y1! not equal y2!.

GRAPHIC GET SCALE retrieves the coordinate limits, which may be either custom world coordinates (if a GRAPHIC SCALE has been executed), or else default pixel coordinates.  This allows you to save and restore a previous set of coordinates.  This statement will automatically adjust to allow Dialog Unit scale factors to be retrieved.

See also

GRAPHIC SCALE, GRAPHIC SCALE PIXELS