Previous: GetHTextel procedure To the Table of Content Next: GetLfbAddress function

- 4.37.2.38 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

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.


Previous: GetHTextel procedure To the Table of Content Next: GetLfbAddress function
GetHTextel procedure Table of Content GetLfbAddress function

- 4.37.2.38 -