X-Size (X-Size)

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

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 X-Size or Y-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 PXML variables.

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.

Default value: 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.

You can find the X-Size property in the Geometry category of the Properties view.