com.groupdocs.watermark.common

Class HorizontalAlignment



  • public final class HorizontalAlignment
    extends Object

    Enumeration of possible horizontal alignment values.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Center
      Center alignment.
      static int Left
      Align to left.
      static int None
      No alignment (use specified position).
      static int Right
      Align to right.
    • Method Detail

      • toString

        public static final String toString(int value)

        Returns a string representation of the HorizontalAlignment value.

        Parameters:
        value - The value to convert.
        Returns:
        The string representation of the HorizontalAlignment value.
      • parse

        public static final int parse(String value)

        Parses a string to a HorizontalAlignment enumeration value.

        Parameters:
        value - The string to parse.
        Returns:
        The HorizontalAlignment enumeration value.