X-Size (X-Size)

The X-Size property defines the size of the container along the X axis.

In the Properties view, this property is the X-Size property in the Geometry category.

If the Layout Direction is vertical (for example, the default topToBottom), the X-Size property defines the width; otherwise, the X-Size property defines the height.

To preserve the aspect ratio of an image, set the value of either Y-Size or X-Size, and allow Report Writer to calculate the corresponding value. If you set both properties, the resulting image appears distorted.

To define the X-Size dynamically, use the PXML variables max, min, and rest. See Using the PXML expression language.

If you want a box to have the same X-axis size as its parent, set X-Size to max. See Modify the sizing policy of containers.

The X-Size property can include the oddPhysicalPage() or evenPhysicalPage() functions. See Start on an odd or even page.

Type: Measure of Distance.

The default value is calculated after the node has completed child alignment. The value is set to the smallest possible value that encloses all children without clipping any of them.