GRAPHIC GET CLIENT statement

Purpose

Retrieve the client size of the selected graphic target.

Syntax

GRAPHIC GET CLIENT TO ncWidth!, ncHeight!

Remarks

GRAPHIC GET CLIENT allows you to retrieve the size of the client area (displayable area) of the selected graphic window or bitmap.  The size is specified in the same terms (pixels or dialog units) as the parent dialog, or in world coordinates, if those were chosen with GRAPHIC SCALE. If no graphic target has been selected with GRAPHIC ATTACH, the values 0,0 are returned.

See also

GRAPHIC ATTACH