GetImage (procedure) (Graph unit)

Language:
Русский
English

  GetImage (procedure)     (Graph unit)


Saves a bit image of the specified region into a buffer.

Declaration

 procedure GetImage(x1, y1, x2, y2: Integer; var BitMap);

Target

Real, Protected

Remarks

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.

Restrictions

Must be in graphics mode. The memory required to save the region must be less than 64K.

See Also

Sample Code

Тэги: GetImage
| G+
Код для вставки: :: :: :: ::
Поделиться: // //