安装了CEF4Delphi,
demos中有一个截屏的例子:SimpleOSRBrowser使用的是TBufferPanel然后
if SaveDialog1.Execute then Panel1.SaveToFile(SaveDialog1.FileName);,截获网页,但只是截取了屏幕显示的部分,在MiniBrowser的demos中我使用以下代码,也是只截取了显示的部分:
  TempBitmap := nil;  try
    SaveDialog1.DefaultExt := 'bmp';
    SaveDialog1.Filter     := 'Bitmap files (*.bmp)|*.BMP';    if SaveDialog1.Execute and
       (length(SaveDialog1.FileName) > 0) and
       Chromium1.TakeSnapshot(TempBitmap) then
      TempBitmap.SaveToFile(SaveDialog1.FileName);
  finally
    if (TempBitmap <> nil) then FreeAndNil(TempBitmap);
  end;查询网上有F12, Ctrl+Shift+p, full  运行Capture full size screenshot我在360极速浏览器中可以,但在测试的MiniBrowser程序中手动运行了Capture full size screenshot没有任何反应。
我想使用Chromium1将整个网页保存为图片,请教如何实现呢?