Alignment Object

This topic describes the Alignment object used for setting the cell's alignment attributes.

Object properties

  • HorizonalAlignment- a string value that specifies how cell content is horizontally aligned. Available variants are:

    1. General
    2. Left
    3. Center
    4. Right
    5. Fill
    6. Justify
    7. CenterContinuous
    8. Distributed
  • VerticalAlignment - a string value that specifies how cell content is vertically aligned. Available variants are:

    • Top
    • Center
    • Bottom
    • Justify
    • Distributed
  • WrapText - a boolean value that specifies whether or not text is wrapped.

  • TextRotation - a zero-based integer value that specifies text rotation in degrees.