//{align: 'center'}使在pdf生成的文字居中;
doc.text('标题', x, y, {align: 'center'});
js导出pdf,使在生成的pdf中文字居中
于 2023-08-10 11:07:30 首次发布
//{align: 'center'}使在pdf生成的文字居中;
doc.text('标题', x, y, {align: 'center'});