Document Tools
PDF Basic Document Generator (PDF基础文档生成器)
Create PDF documents with text, paragraphs, headers, footers, and page numbers
file· File resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/pdf-basic-text-doc' \
-H 'Content-Type: application/json' \
-d '{"content":"Enter your document content here...\n\nYou can separate paragraphs with blank lines.","title":"My Document","pageSize":"A4","orientation":"portrait","fontSize":12,"lineHeight":1.5,"marginTop":72,"marginBottom":72,"marginLeft":72,"marginRight":72,"showHeader":false,"headerText":"Document Header","headerAlignment":"center","showFooter":false,"footerText":"Page {page} of {total}","footerAlignment":"center","showPageNumbers":true,"pageNumberPosition":"bottom-center"}'