DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Enum WatermarkPosition

java.lang.Object
  extended by java.lang.Enum<WatermarkPosition>
      extended by com.cete.dynamicpdf.pageelements.WatermarkPosition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WatermarkPosition>

public enum WatermarkPosition
extends java.lang.Enum<WatermarkPosition>

Specifies the position of watermark.


Enum Constant Summary
BottomCenter
          position Bottom Center of the page.
BottomLeft
          position Bottom Left of the page.
BottomRight
          position Bottom Right of the page.
Center
          position Center of the page.
MiddleLeft
          position Middle Left of the page.
MiddleRight
          position Middle Right of the page.
TopCenter
          position Top Center of the page.
TopLeft
          position Top Left of the page.
TopRight
          position Top Right of the page.
 
Method Summary
static WatermarkPosition valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WatermarkPosition[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TopLeft

public static final WatermarkPosition TopLeft
position Top Left of the page.


TopCenter

public static final WatermarkPosition TopCenter
position Top Center of the page.


TopRight

public static final WatermarkPosition TopRight
position Top Right of the page.


MiddleLeft

public static final WatermarkPosition MiddleLeft
position Middle Left of the page.


Center

public static final WatermarkPosition Center
position Center of the page.


MiddleRight

public static final WatermarkPosition MiddleRight
position Middle Right of the page.


BottomLeft

public static final WatermarkPosition BottomLeft
position Bottom Left of the page.


BottomCenter

public static final WatermarkPosition BottomCenter
position Bottom Center of the page.


BottomRight

public static final WatermarkPosition BottomRight
position Bottom Right of the page.

Method Detail

values

public static final WatermarkPosition[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(WatermarkPosition c : WatermarkPosition.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static WatermarkPosition valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software