From d1095ed7c8ee7e3ca7db93acab0434b27f9200cc Mon Sep 17 00:00:00 2001 From: Adrien de Bosset Date: Fri, 19 Aug 2016 10:07:29 +0200 Subject: [PATCH] Update README.md Add info to function downloadBrowser --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 0c9e799..b6dbacc 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,20 @@ Following example will render remote web page into PNG image: ->delete(); // Delete Files from Convertio hosts ``` +Following example will render remote web page into PDF and force download to current browser: +```php +startFromURL('http://google.com/', 'pdf') // Convert (Render) HTML Page to PDF + ->wait() // Wait for conversion finish + ->downloadBrowser('./google.png') // Download Result To Current Browser + ->delete(); // Delete Files from Convertio hosts +``` + Following example will convert local DOCX file to PDF: ```php