GRAPHIC GET SIZE statement

Purpose | Retrieves the overall size of the selected graphic target.
Syntax | GRAPHIC GET SIZE To WidthVar&, HeightVar& Function Form: WidthVar& = GRAPHIC(SIZE.X) HeightVar& = GRAPHIC(SIZE.Y)
Remarks | GRAPHIC GET SIZE retrieves overall physical size of the selected graphic window or control. The size is specified in Pixels or Dialog Units, depending upon how it was created. The size always includes any caption, frame, scrollbars, etc. If no graphic target is attached, the values 0,0 are returned.
See also | GRAPHIC GET CANVAS, GRAPHIC GET CLIENT, GRAPHIC GET CLIP, GRAPHIC GET LINES, GRAPHIC SET SIZE