Comments (6)
Okay, I just added loadFromJSON (serializedJsonData)
(
PDFJsAnnotations/pdfannotate.js
Line 218 in 56048c2
from pdfjsannotations.
@RavishaHesh Thanks, It's working fine.
from pdfjsannotations.
Hi,I having the same issues here.
How to use loadFromJSON
?
I put it on $(function () {}
,the inst.fabricObjects
's lenth is 0.
Did I use it wrong?
from pdfjsannotations.
Hi,I having the same issues here.
How to useloadFromJSON
?
I put it on$(function () {}
,theinst.fabricObjects
's lenth is 0.
Did I use it wrong?
As readme says you have to initialize plugin first
var pdf = new PDFAnnotate('pdf-container-id', 'http://url-to.pdf');
then
pdf.loadFromJSON(serializedJSON)
from pdfjsannotations.
can I see your code/example?
from pdfjsannotations.
Hi,I having the same issues here. How to use
loadFromJSON
? I put it on$(function () {}
,theinst.fabricObjects
's lenth is 0. Did I use it wrong?
How can I add an image on top of pdf whenever pdf opens?
It relates to pdf.loadFromJSON(serializedJSON) I think.
Can you please provide sample code?
from pdfjsannotations.
Related Issues (20)
- Enable annotation layer (text and link)
- 2 Pages View like a book
- load or save pdf slow HOT 1
- Saved PDF text is blurry HOT 1
- loadFromJSON loses backgroundImage HOT 1
- Memory canvas use exceeds the maximum limit (254mb) HOT 1
- loading image from sample_output breaks background HOT 3
- Arrow | Pencil Tool Glitch HOT 1
- Can't Save PDF HOT 1
- get the coordinates of x,y ?
- TEXT LAYER HOT 3
- add zoom in / zoom out buttons
- Add predefinited image to canvas
- return saved image as base64
- Password protected pdf with password how to open Please Tell Me.
- Getting Blur PDF after saving Annotation HOT 1
- on a tablet I scroll to the canvas and can't scroll below? HOT 2
- PDF file does not open HOT 7
- Place image on the currently viewed page
- Edting PDF?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pdfjsannotations.