GRAPHIC GET CLIP statement

Purpose | Retrieves the size of the clip area.
Syntax | GRAPHIC GET CLIP TO WidthVar!, HeightVar! Function Form: WidthVar! = GRAPHIC(Clip.X) HeightVar! = GRAPHIC(Clip.Y)
Remarks | The clip area of a graphic target is that space where GRAPHIC operations can be displayed. That is, the clip area is that portion of the client area which is not protected (clipped) by GRAPHIC SET CLIP. GRAPHIC GET CLIP retrieves the size of the clip area, and assigns these values to the variables specified by WidthVar! and HeightVar!. The size is specified in PAGE UNITS. If no graphic target is selected, the values 0,0 are returned.
See also | GRAPHIC GET CANVAS, GRAPHIC GET CLIENT, GRAPHIC SET CLIP