Loading

Alignment

@PositionX defines how PDL page content must be positioned horizontally on the media.

@PositionY defines how PDL page content must be positioned vertically on the media.

These attributes are optional. If not specified, the behaviour is device dependant.

Position values are relative to the edges of the media. For example, if @PositionX="Left" and @PositionY="Top" are specified, the left edge and top edge of the content will be aligned with the left and top edges of the media, for both front and back sides.

The alignment is done before applying any possible additional image shifts.

Horizontal alignment

Syntax

XPath: //LayoutPreparationParams/PageCell/ImageShift/@PositionX

When partitioned

XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@PositionX

Type

Enumeration

Supported range

@PositionX

Description

Center

Center the content horizontally

Left

Left alignment

Right

Right alignment

Vertical alignment

Syntax

XPath: //LayoutPreparationParams/PageCell/ImageShift/@PositionY

When partitioned

XPath: //LayoutPreparationParams[@PartIDKeys="RunIndex"]/LayoutPreparationParams[@RunIndex="…"]/PageCell/ImageShift/@PositionY

Type

Enumeration

Supported range

@PositionY

Description

Center

Center the content vertically

Bottom

Bottom alignment

Top

Top alignment