PositioningMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class PositioningMode extends System.Enum

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

Fields

FieldDescription
LegacyLegacy text positioning
ModernLineSpacingUpdated line spacing, vertical position calculation is done by the old rules (i.e.
CurrentUpdated 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)

Current

public static final int Current

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