Document Tools
PDF基础文档生成器
创建包含文本、段落、页眉页脚和页码的PDF文档
file· 文件结果
快速开始
用三种语言从你的代码中调用此工具。
cURL
curl -X POST 'https://api.elysiatools.com/zh/api/tools/pdf-basic-text-doc' \
-H 'Content-Type: application/json' \
-d '{"content":"在此输入您的文档内容...\n\n您可以用空行分隔段落。","title":"我的文档","pageSize":"A4","orientation":"portrait","fontSize":12,"lineHeight":1.5,"marginTop":72,"marginBottom":72,"marginLeft":72,"marginRight":72,"showHeader":false,"headerText":"文档页眉","headerAlignment":"center","showFooter":false,"footerText":"Page {page} of {total}","footerAlignment":"center","showPageNumbers":true,"pageNumberPosition":"bottom-center"}'