jspdf text position code example
Example 1: jspdf text position
var doc = new jsPDF();
doc.text('Hi How are you', 40, 250, 'center');
Example 2: jspdf text position
API.text = function(text, x, y, flags, angle, align);
var doc = new jsPDF();
doc.text('Hi How are you', 40, 250, 'center');
API.text = function(text, x, y, flags, angle, align);