File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Azure/HTML-to-PDF-Azure-Functions(Windows)/HTML-to-PDF-Azure-Functions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ public static async Task<HttpResponseMessage> Run(
3434 HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter ( HtmlRenderingEngine . WebKit ) ;
3535 WebKitConverterSettings settings = new WebKitConverterSettings ( ) ;
3636 //Set WebKit path.
37- settings . WebKitPath = Path . Combine ( context . FunctionAppDirectory , "bin/runtimes/win-x64/native" ) ; //Assign WebKit settings to HTML converter
37+ settings . WebKitPath = Path . Combine ( context . FunctionAppDirectory , "bin/runtimes/win-x64/native" ) ;
38+ //Assign WebKit settings to HTML converter.
3839 htmlConverter . ConverterSettings = settings ;
3940 //Convert URL to PDF.
4041 PdfDocument document = htmlConverter . Convert ( "https://www.google.com" ) ;
You can’t perform that action at this time.
0 commit comments