FlowParagraphOptions

FlowParagraphOptions

Overview

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

Typographic options for {@link Flow.AddParagraph} (a subset of the text-block options; flow content is always laid top-down, so valign is not offered).

Properties: align, background, clear, color, font, fontSize, and 5 more.

Properties

NameTypeAccessDescription
font: AuthoringFontReadGets the font.
fontSize: numberReadGets the font size.
color: [number, number, number]ReadGets the color.
align: 'left' | 'center' | 'right' | 'justify'ReadGets the align.
leading: numberReadGets the leading.
underline: DecorationReadRule below the baseline of every line.
strikethrough: DecorationReadRule through the glyphs of every line.
background: BackgroundReadFill painted behind each line’s text.
spaceBefore: numberReadPoints inserted above this element (dropped at a column top).
spaceAfter: numberReadPoints inserted below this element (dropped at a column top).
clear: FlowClearReadDrop this element below the floats on the given side(s) before placing it.