Project converts from HTML to PDF. It uses the internal TWebBrowser which wraps the Microsoft Edge browser for a PDF viewer inside the application. It uses the pdflayer API to convert from HTML to PDF.
The WebView2Loader.dll must be included at the same location as the EXE for the Microsoft Edge browser to function.
The WebView2Loader.dll can be downloaded from: https://getitnow.embarcadero.com/EdgeView2SDK-1.0.664.37/
The Microsoft Edge browser can be installed from: https://www.microsoftedgeinsider.com/en-us/download
Build with: https://www.embarcadero.com/products/delphi