XPRINT GET CLIP statement  

Purpose

Retrieves the size of the clip area on the selected printer.

Syntax

XPRINT GET CLIP To WidthVar!, HeightVar!

Function Form:

WidthVar!  = XPRINT(Clip.X)

HeightVar! = XPRINT(Clip.Y)

Remarks

The clip area of the printer is that space where print operations can be written.  That is, the clip area is that portion of the client area which is not protected (clipped) by the XPRINT SET CLIP statement.

XPRINT 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 (pixels/points or scaled units). If no printer is selected, the values 0,0 are returned.

See also

XXPRINT GET CANVAS, XPRINT GET CLIENT, XPRINT SET CLIP