Package com.markit.api
Interface WatermarkService.ImageBasedFileSetter
-
- All Implemented Interfaces:
public interface WatermarkService.ImageBasedFileSetter
image-based source setter service
-
-
Method Summary
Modifier and Type Method Description abstract WatermarkService.ImageBasedWatermarker
watermark(Array<byte> fileBytes, FileType fileType)
Sets the source file to be watermarked using a byte array. abstract WatermarkService.ImageBasedWatermarker
watermark(File file, FileType fileType)
Sets the source file to be watermarked using a File object. abstract WatermarkService.ImageBasedWatermarker
watermark(PDDocument document)
Sets the PDF document to be watermarked. -
-
Method Detail
-
watermark
abstract WatermarkService.ImageBasedWatermarker watermark(Array<byte> fileBytes, FileType fileType)
Sets the source file to be watermarked using a byte array.
- Parameters:
fileBytes
- The byte array representing the source file.fileType
- The type of file (e.g., PDF, Image).
-
watermark
abstract WatermarkService.ImageBasedWatermarker watermark(File file, FileType fileType)
Sets the source file to be watermarked using a File object.
- Parameters:
file
- The file to be watermarked.fileType
- The type of file (e.g., PDF, Image).
-
watermark
abstract WatermarkService.ImageBasedWatermarker watermark(PDDocument document)
Sets the PDF document to be watermarked.
- Parameters:
document
- The PDF document to be watermarked.
-
-
-
-