Previous: 4.37.2.73. HRetrace procedure To the Table of Contents Next: 4.37.2.75. InvertImage procedure
4.37.2.73. HRetrace procedure Table of Contents 4.37.2.75. InvertImage procedure

- 4.37.2.74. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.74. ImageSize function


4.37.2.74. 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: 4.37.2.73. HRetrace procedure To the Table of Contents Next: 4.37.2.75. InvertImage procedure
4.37.2.73. HRetrace procedure Table of Contents 4.37.2.75. InvertImage procedure

- 4.37.2.74. -