Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

CefGetDataURI

Post Reply
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

CefGetDataURI

Post by dilfich »

CefGetDataURI it's almost analogous

Code: Select all

webview.loadData(html, "text/html", "utf-8");
means perhaps as the do and

Code: Select all

webview.loadDataWithBaseURL("www.site.com", html, "text/html", "utf-8", null);
or something similar with the indication of the domain \ address :?:
User avatar
salvadordf
Posts: 4052
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CefGetDataURI

Post by salvadordf »

CefGetDataURI is declared in uCEFMiscFunctions.pas and it's a custom function to create a URI with a DATA scheme. It uses some CEF functions to encode the URI but CefGetDataURI is not part of the CEF API.

Those webview functions are not available in ICefFrame. Only ICefFrame.LoadUrl and ICefFrame.LoadRequest are available in the CEF API.
Post Reply