Saves a bit image of the specified region into a buffer.
procedure GetImage(x1, y1, x2, y2: Integer; var BitMap);
X1, Y1, X2, and Y2 define a rectangular region on the screen. BitMap is an untyped parameter that must be greater than or equal to 6 plus the amount of area defined by the region. The first two words of BitMap store the width and height of the region. The third word is reserved.
The remaining part of BitMap is used to save the bit image itself. Use the ImageSize function to determine the size requirements of BitMap.
Must be in graphics mode. The memory required to save the region must be less than 64K.