- 4.37.2.38. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.38. GetImage procedure
4.37.2.38. GetImage procedure
Targets: MS-DOS, Win32
Graph Unit
Saves a bit image of the specified region into a buffer.
Declaration:
procedure GetImage(X1, Y1, X2, Y2: Integer; var BitMap);
Remarks:
X1, Y1, X2, and Y2 are the coordinates of diagonally
opposite points of the rectangular region on the screen.
BitMap is an untyped parameter that must be at least 4 greater
than the amount of area defined by the region.
The first two words of BitMap store the width and height of the region.
The remaining part of BitMap is used to save the bit image itself.
Use the ImageSize function to determine the size requirements
of BitMap.
- 4.37.2.38. -