You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read and understood the contribution guidelines.
I was trying to add an image to my pdf which was genereted with the following object:
var doc = new jsPDF("p", "in").setProperties({ title: title });
So the text worked perfectly but when I tried to add an image to the pdf it did not work.
At first I thought it was the img i was passing to the obj but then realized it was the units i used to create the object ("in").
I went to the live demo add images example and tried it out there aswell and realized that "cm" and "in" units dont allow images.
Is this how it should work?
The text was updated successfully, but these errors were encountered:
I have read and understood the contribution guidelines.
I was trying to add an image to my pdf which was genereted with the following object:
var doc = new jsPDF("p", "in").setProperties({ title: title });
So the text worked perfectly but when I tried to add an image to the pdf it did not work.
At first I thought it was the img i was passing to the obj but then realized it was the units i used to create the object ("in").
I went to the live demo add images example and tried it out there aswell and realized that "cm" and "in" units dont allow images.
Is this how it should work?
The text was updated successfully, but these errors were encountered: