Alignment (alignment)

The Alignment property controls alignment of a report element.

In the Properties view, this property is the Alignment property in the Geometry category.

Tip: You can also change the Alignment property from the contextual menu. Right-click on the report element, select Horizontal Position and then one of the Align options.

Controls the X position of this report element in its parent container, unless you have set the x property explicitly.

Type: Enum, the alignment choices are:

  • none - there is no adjustment.
  • near - shortcut for x = 0; that is, aligns closest to the origin of x within the parent container
  • far - shortcut for x = max, anchorX = 1; that is, aligns the most remotely from the origin of x within the parent container
  • center - shortcut for x = max/2, anchorX = 0.5, centered in the parent container
  • baseline - uses baseline alignment

The default value is none.