PositioningMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum> com.aspose.ms.System.Enum com.aspose.pdf.facades.PositioningMode, com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>, com.aspose.ms.System.Enum com.aspose.pdf.facades.PositioningMode, 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)

Fields

FieldDescription
CurrentUpdated line spacing and vertical position calculation is done based on left-top corner rather than left-bottom.
LegacyLegacy text positioning
ModernLineSpacingUpdated 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)

Current

public static final int Current

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

Legacy

public static final int Legacy

Legacy text positioning

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)