Previous: HRetrace procedure To the Table of Content Next: InvertImage procedure

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

ImageSize function

Targets: MS-DOS, Win32


Graph Unit

Returns the number of bytes required to store a rectangular region of the screen.

Declaration:
function ImageSize(X1, Y1, X2, Y2: Longint): DWORD;
Remarks:
X1, Y1, X2, and Y2 are the coordinates of diagonally opposite vertices of a rectangular region on the screen. ImageSize determines the number of bytes necessary for GetImage to save the specified region of the screen. The image size includes space for two words. The first stores the width of the region and the second stores the height.


Previous: HRetrace procedure To the Table of Content Next: InvertImage procedure
HRetrace procedure Table of Content InvertImage procedure

- 4.37.2.74 -