Documentation
README
add_text_watermark Skill
在 PDF 文档中添加文本水印
功能描述
向 PDF 文档添加文本水印,可自定义位置、字体、字号、颜色等参数。
所属分类
office/skills/pdf/add_text_watermark/
调用方式
from skills.pdf import add_text_watermark
add_text_watermark(
input_file='./test.pdf',
point=(100, 200),
text='python-office',
output_file='./with_watermark.pdf',
fontname='Helvetica',
fontsize=12,
color=(1, 0, 0)
)
参数说明
This is the opening of the README. Read the full README on GitHub.