Add Image Stamp - Watermark to a PDF Page
Contents
[
Hide
]
Introduction
Aspose.PDF Cloud allows you to add a Image file as a stamp to a PDF Document
API Information
API | Type | Description | Swagger Link |
---|---|---|---|
/pdf/{name}/pages/{pageNumber}/stamps/image | POST | Add Image Stamp to a PDF Document | PostPageImageStamps |
Sample Request Object
{
"Type":1,
"Background":true,
"BottomMargin":2.0,
"HorizontalAlignment":1,
"LeftMargin":3.0,
"Opacity":0.5,
"RightMargin":0.0,
"Rotate":3,
"RotateAngle":45.0,
"TopMargin":4.0,
"VerticalAlignment":3,
"XIndent":2.0,
"YIndent":2.5,
"Zoom":1.5,
"TextAlignment":0,
"Value":"TEXT",
"TextState":{
"FontSize":14.0,
"Font":"Arial",
"ForegroundColor":{
"A":0,
"R":255,
"G":0,
"B":0
},
"BackgroundColor":{
"A":0,
"R":0,
"G":0,
"B":255
},
"FontStyle":2
},
"FileName":"koala.jpeg",
"Width":0.0,
"Height":0.0,
"PageIndex":0,
"StartingNumber":0
}
cURL Example
SDK Source
The Aspose.PDF Cloud SDKs can be downloaded from the following page: Available SDKs
SDK Examples
Add image stamp