Client-side JavaScript PDF generation for everyone.
Home Page:https://parall.ax/products/jspdf
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
Lazydd opened this issue 2 months ago · comments
const left = doc.internal.pageSize.width / 2; const top = doc.internal.pageSize.height / 2; doc.text('hello world', left, top, { align: 'center', charSpace: 5 });
doc.text('hello world', left, top, { align: 'center' });