FlowCodeOptions

Overview

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

Options for {@link codeBlock} / Flow.AddCodeBlock.

Properties: background, clear, color, font, fontSize, leading, and 4 more.

Properties

NameTypeAccessDescription
font: AuthoringFontReadBody font.
fontSize: numberReadFont size (points).
color: [number, number, number]ReadText colour (RGB 0..1).
leading: numberReadBaseline-to-baseline distance.
background: [number, number, number] | falseReadFill painted behind the block, or false for none.
padding: numberReadInset between the fill’s edge and the text, all four sides.
tabWidth: numberReadColumns a tab advances to.
spaceBefore: numberReadPoints inserted above the block (dropped at a column top).
spaceAfter: numberReadPoints inserted below the block (dropped at a column top).
clear: FlowClearReadDrop the block below the floats on the given side(s) before placing it.