Xbasic
SET_UNITS Function
Syntax
V SET_UNITS(units as c)
Arguments
- units
The unit of measurement when using a UI_BITMAP_DRAW(), UI_SCREEN_DRAW(), or UI_PRINTER_DRAW()command. the options are:
- "pixels"
- "inches"
Description
Set units to 'pixels' or 'inches'.
Discussion
The SET_UNITS() function sets the unit of measurement when drawing images in memory.
Example
set_units("pixels")
Limitations
Used only in the Code sections of UI_BITMAP_DRAW(), UI_SCREEN_DRAW(), and UI_PRINTER_DRAW().
See Also