Add PDF Page as Stamp - Watermark to a PDF Page

Introduction

Aspose.PDF Cloud allows you to add a PDF Document as a stamp to another PDF Document

API Information

API Type Description Swagger Link
/pdf/{name}/pages/{pageNumber}/stamps/text POST Add Text Stamp to a PDF Document PostPagePdfPageStamps
Sample Request Object

{

   "Type":2,

   "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":"marketing.pdf",

   "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 PDF page stamp