Add watermark to a PDF file
POST
/api/v1/security/add-watermark
Security
请求参数
Body 参数multipart/form-data
fileInput
file
必需
watermarkType
enum<string>
必需
枚举值:
textimage
watermarkText
string
可选
默认值:
Stirling Software
示例值:
Stirling Software
watermarkImage
file
可选
alphabet
enum<string>
可选
枚举值:
romanarabicjapanesekoreanchinese
默认值:
roman
示例值:
roman
fontSize
number <float>
可选
默认值:
30
示例值:
30
rotation
number <float>
可选
默认值:
0
opacity
number <float>
可选
默认值:
0.5
示例值:
0.5
widthSpacer
integer <int32>
可选
默认值:
50
示例值:
50
heightSpacer
integer <int32>
可选
默认值:
50
示例值:
50
customColor
string
可选
默认值:
#d3d3d3
示例值:
#d3d3d3
convertPDFToImage
boolean
必需
默认值:
false
示例值:
false
示例代码
返回响应
修改于 2025-06-22 03:57:35