getType

Gets the type of the watermark.

public int getType()
Since:
Available since v4.6.0.

Used to get the type information in the current watermark configuration.

Restrictions

None.

Returns

If the method call succeeds, returns the watermark type.
  • WATERMARK_TYPE_IMAGE: Image watermark.
  • WATERMARK_TYPE_BUFFER: Buffer watermark.