com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class MarginType

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.groupdocs.watermark.MarginType


  • public final class MarginType
    extends com.aspose.ms.System.Enum

    Specifies how margin values should be interpreted.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.EnumMap, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Absolute
      Margin value measured in document units.
      static int RelativeToParentDimensions
      Margin value should be interpreted as a portion of appropriate parent dimension.
      static int RelativeToParentMinDimension
      Margin value should be interpreted as a portion of parent minimum dimension.
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject, toString
    • Field Detail

      • Absolute

        public static final int Absolute

        Margin value measured in document units.

        See Also:
        Constant Field Values
      • RelativeToParentDimensions

        public static final int RelativeToParentDimensions

        Margin value should be interpreted as a portion of appropriate parent dimension. Left and right margins are relative to parent width, top and bottom margins are relative to parent height. If this type is chosen, margin value must be between 0.0 and 1.0.

        See Also:
        Constant Field Values
      • RelativeToParentMinDimension

        public static final int RelativeToParentMinDimension

        Margin value should be interpreted as a portion of parent minimum dimension. If this type is chosen, margin value must be between 0.0 and 1.0.

        See Also:
        Constant Field Values