com.aspose.pdf.facades

Class PositioningMode

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.pdf.facades.PositioningMode


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

    Defines positioning mode. Possible values include Legacy (backward compatibility) and Current (updated text position calculation method)

    • 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.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int Current
      Updated line spacing and vertical position calculation is done based on left-top corner rather than left-bottom.
      static int Legacy
      Legacy text positioning
      static int ModernLineSpacing
      Updated line spacing, vertical position calculation is done by the old rules (i.e. text is positioned relative to bottom-left corner of the specified rectangle)
      • 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, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • ModernLineSpacing

        public static final int ModernLineSpacing

        Updated line spacing, vertical position calculation is done by the old rules (i.e. text is positioned relative to bottom-left corner of the specified rectangle)

        See Also:
        Constant Field Values
      • Current

        public static final int Current

        Updated line spacing and vertical position calculation is done based on left-top corner rather than left-bottom.

        See Also:
        Constant Field Values