Hi,
I have tried to implement but got error.
var tmppath =
URL.createObjectURL(document.getElementById('flupd').files[0]);
PDFJS.workerSrc = "js/test1/pdf.worker.js";
PDFJS.getDocument(tmppath).then(function (pdf) {
pdf.getData().then(function (arrayBuffer) {
var pdfraw = String.fromCharCode.apply(null,
arrayBuffer); //Error: Uncaught (in promise) RangeError:
Maximum call stack size exceeded
});
});
On Thursday, March 23, 2017 at 8:15:17 PM UTC+5:30, Sander Elias wrote:
>
> Hi Jyoti,
>
> If you can do it in c#, you can do it server-side. Just process the
> document once, and keep the resulting json in a cache. I don't think you
> can do it as efficient in the browser. But if you search long enough, I'm
> pretty sure there is a JS library that can do what you want. Either way,
> not much of an Angular issue! (neverteless, if you find something, please
> report back, it might be interesting, even without being Angularish ;) )
>
> Regards
> Sander
>
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.