i have the following error message in Delphi 7:
Undeclared identifier: 'scanline'
my uses: uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, Buttons, StdCtrls, ExtCtrls,math, ComCtrls;
my part of code:
screenshot(0,0,screen.Width,screen.Height,bmp);
for a:=1 to screen.Height do begin
pxl:=scanline[a-1];
end;
where pxl is PByteArray
;
screenshot
is a procedure that catching the selected area into a bitmap...
AFAIK scanline function using Graphics library, but it does not works..
What I am doing wrong?
Thanks