PdfWatermarkableImage

Inheritance: java.lang.Object, com.groupdocs.watermark.contents.ContentPart, com.groupdocs.watermark.contents.WatermarkableImage

public class PdfWatermarkableImage extends WatermarkableImage

Represents an image inside a Pdf document.

Constructors

Constructor Description
PdfWatermarkableImage(byte[] imageData) Initializes a new instance of the [PdfWatermarkableImage](../../com.groupdocs.watermark.contents/pdfwatermarkableimage) class using specified image data.

Methods

Method Description
fetchOrCreate(XImageCollection imageCollection, String nameInCollection, PdfContent content)

PdfWatermarkableImage(byte[] imageData)

public PdfWatermarkableImage(byte[] imageData)

Initializes a new instance of the [PdfWatermarkableImage](../../com.groupdocs.watermark.contents/pdfwatermarkableimage) class using specified image data.

Parameters:

Parameter Type Description
imageData byte[] The array of unsigned bytes from which to create the [PdfWatermarkableImage](../../com.groupdocs.watermark.contents/pdfwatermarkableimage).

fetchOrCreate(XImageCollection imageCollection, String nameInCollection, PdfContent content)

public static PdfWatermarkableImage fetchOrCreate(XImageCollection imageCollection, String nameInCollection, PdfContent content)

Parameters:

Parameter Type Description
imageCollection com.aspose.pdf.XImageCollection
nameInCollection java.lang.String
content PdfContent

Returns: PdfWatermarkableImage