I couldnt find a proper way to get picture of the loaded document in tchromium vcl control in a form.
looking for a method to get document as a bitmap of file or stream. delphi / tchromium component
Save to picture function is no longer avaible in DCEF3.but cef-r2.31 has it.
procedure Tfmmain.Button1Click(Sender: TObject);
var
lol:TPicture;
begin
lol:=TPicture.Create;
Chromium1.Browser.GetBitmap(PET_VIEW,lol.Bitmap);
lol.SaveToFile('c:\lol.bmp');
lol.Free;
lol:=nil;
end;