Layout

Applies to

PDFTextBlock object, PDFMultilineText object

Description

Gets or sets the layout in the PDFTextBlock/PDFMultilineText object.

Data type

PDFTextLayout.

Usage

In scripts

The Layout property contains the layout settings for the text in the PDFTextBlock object, such as the spacing between the lines, the left indent, the right indent, the indent of the first line, etc.

This example shows how to set the content in a PDFTextBlock object to be center-aligned:

lpdf_block = create PDFtextblock
lpdf_block.layout.alignment = PDFTextAlignCenter!