AttachedImagePossibleWatermark

Inheritance: java.lang.Object, com.groupdocs.watermark.search.PossibleWatermark

public abstract class AttachedImagePossibleWatermark<T> extends PossibleWatermark

Represents attached image watermark in a content of any supported format.

T : The type of the attachment.

Methods

Method Description
getParent() Gets the parent of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getWidth() Gets the width of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getHeight() Gets the height of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getX() Gets the x-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getY() Gets the y-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getRotateAngle() Gets the rotate angle of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark) in degrees.
getUnitOfMeasurement() Gets the unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).
getImageInternally()
remove()

getParent()

public ContentPart getParent()

Gets the parent of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: ContentPart - The parent of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getWidth()

public double getWidth()

Gets the width of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: double - The width of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getHeight()

public double getHeight()

Gets the height of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: double - The height of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getX()

public double getX()

Gets the x-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: double - The x-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getY()

public double getY()

Gets the y-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: double - The y-coordinate of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getRotateAngle()

public double getRotateAngle()

Gets the rotate angle of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark) in degrees.

Returns: double - The rotate angle of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getUnitOfMeasurement()

public int getUnitOfMeasurement()

Gets the unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

Returns: int - The unit of measurement [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [AttachedImagePossibleWatermark](../../com.groupdocs.watermark.search/attachedimagepossiblewatermark).

getImageInternally()

public WatermarkableImage getImageInternally()

Returns: WatermarkableImage

remove()

public void remove()