getPositionInPortraitMode

Gets the position of the watermark in portrait mode.

public int[] getPositionInPortraitMode()
Since:
Available since v4.6.0.

Gets the position of the watermark in portrait mode.

Restrictions

None.

Returns

When the method call succeeds, it returns an integer array of four elements representing the x, y, width, and height of the watermark rectangle.