Skip to content

Commit f4b5c99

Browse files
authored
Update 014-pdfJS-Static_PDF_Viewer.au3
1 parent b877199 commit f4b5c99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/014-pdfJS-Static_PDF_Viewer.au3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111
; ⚠️ to make this work, download pdfJS library from https://mozilla.github.io/pdf.js/
1212
; for example:
13-
; https://github.com/mozilla/pdf.js/releases/download/v5.4.530/pdfjs-5.4.530-dist.zip
13+
; https://github.com/mozilla/pdf.js/releases/download/v5.4.624/pdfjs-5.4.624-dist.zip
1414
; and unzip to: @ScriptDir & "\JS_Lib\pdfjs\"
1515
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1616

@@ -50,7 +50,7 @@ Func _Example()
5050
#EndRegion ; GUI CREATION
5151

5252
; navigate to the page
53-
__SetupStaticPDF($oWeb, @ScriptDir & "\invoice-plugin-sample.pdf", True, True)
53+
__SetupStaticPDF($oWeb, @ScriptDir & "\invoice-plugin-sample.pdf", True, False)
5454

5555
_NetWebView2_ExecuteScript($oWeb, "extractPDFText();", $NETWEBVIEW2_EXECUTEJS_MODE0_FIREANDFORGET)
5656

0 commit comments

Comments
 (0)