Skip to content

Graphics_adjust_coords Command

Obsolete

This command is obsolete. It is valid only in character-mode DataFlex. There is no Windows equivalent for this option.

Purpose

To set the graphics world to match the map mode of the current virtual console (the object you'll be drawing the graphics on, e.g., a BasicPanel object).

Syntax

Graphics_Adjust_Coords pHeight pWidth

Argument Explanation

  • pHeight: An integer representing the maximum height of the graphic world (in pixels).
  • pWidth: An integer representing the maximum width of the graphic world (in pixels).

What It Does

Graphics_Adjust_Coords sets the maximum height of the graphic world (in pixels) to the value of pHeight. Likewise, the maximum width is set to pWidth.