TextBlockOptions

Overview

TextBlockOptions is a interface in Aspose.PDF FOSS for TypeScript.

Options for flowing wrapped text into a rectangle.

Properties: align, leading, rotate, valign.

Properties

NameTypeAccessDescription
align: 'left' | 'center' | 'right' | 'justify'ReadHorizontal alignment of each line.
rotate: numberReadRotation in degrees, counter-clockwise about the rect’s origin (its bottom-left corner) — the block analogue of {@link StampOptions.rotate} turning about its anchor point.
valign: 'top' | 'center' | 'bottom'ReadVertical alignment of the laid block within the box.
leading: numberReadBaseline-to-baseline distance in points.