Interface PDFTransformationService
-
- All Known Implementing Classes:
PDFTransformationServiceImpl
public interface PDFTransformationService
- Since:
- 8.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Blob
applyImageWatermark(Blob input, Blob watermark, WatermarkProperties properties)
Add an Image watermark to the input PDF blobBlob
applyTextWatermark(Blob input, String text, WatermarkProperties properties)
Add a text watermark to the input PDF blobWatermarkProperties
getDefaultProperties()
Blob
overlayPDF(Blob input, Blob overlayBlob)
Overlay a PDF file on top of the input Blob
-
-
-
Method Detail
-
getDefaultProperties
WatermarkProperties getDefaultProperties()
- Returns:
- the watermark default properties
-
applyTextWatermark
Blob applyTextWatermark(Blob input, String text, WatermarkProperties properties)
Add a text watermark to the input PDF blob- Parameters:
input
- A PDF blobtext
- The text to use for the watermarkproperties
- the properties of the watermark- Returns:
- a new PDF file
-
applyImageWatermark
Blob applyImageWatermark(Blob input, Blob watermark, WatermarkProperties properties)
Add an Image watermark to the input PDF blob- Parameters:
input
- A PDF blobwatermark
- The image to use for the watermarkproperties
- the properties of the watermark- Returns:
- a new PDF file
-
-