mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
parent
65cad1caf8
commit
125c1fe473
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ ajaxGet('helloworld.pdf', function(data){
|
||||||
//
|
//
|
||||||
// Instantiate PDFDoc with PDF data
|
// Instantiate PDFDoc with PDF data
|
||||||
//
|
//
|
||||||
var pdf = new PDFDoc(new Stream(data));
|
var pdf = new PDFDoc(data);
|
||||||
var page = pdf.getPage(1);
|
var page = pdf.getPage(1);
|
||||||
var scale = 1.5;
|
var scale = 1.5;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue