简体   繁体   中英

How obtain a screenshot of the ChromiumEmbedded browser in Delphi XE2/Firemonkey?

Have tried to obtain a screenshot from the ChromiumEmbedded browser for Delphi XE2/Firemonkey, but the ChromiumFMX.MakeScreenshot method only returns an empty bitmap.

Anyone have any idea how to obtain a bitmap?

Thx.

相反,请使用以下内容(确保在此调用之前实例化YourBitmap ):

CefGetBitmap(ChromiumFMX.Browser, PET_VIEW, YourBitmap);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM