TextLayoutOptions

TextLayoutOptions

Overview

TextLayoutOptions is a class in Aspose.PDF FOSS for Python.

Configure complex-text shaping and line layout for Page.add_text.

Properties: alignment, direction, fallback_fonts, features, language, line_height, and 2 more.

Properties

NameTypeAccessDescription
directionstrReadGets the direction.
languagestr | NoneReadGets the language.
scriptstr | NoneReadGets the script.
featuresMapping[str, int | bool]ReadGets the features.
fallback_fontsSequence[Any]ReadGets the fallback fonts.
max_widthfloat | NoneReadGets the max width.
line_heightfloat | NoneReadGets the line height.
alignmentstrReadGets the alignment.

See Also