How do I convert an HTML page loaded by the Web component into a PDF file?
You can use the createPDF method of WebviewController to convert the HTML page loaded by the Web component into PDF data streams. Then write the data streams to a PDF file in the application sandbox directory.