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
| Name | Type | Access | Description |
|---|---|---|---|
font | : AuthoringFont | Read | Body font. |
fontSize | : number | Read | Font size (points). |
color | : [number, number, number] | Read | Text colour (RGB 0..1). |
leading | : number | Read | Baseline-to-baseline distance. |
background | : [number, number, number] | false | Read | Fill painted behind the block, or false for none. |
padding | : number | Read | Inset between the fill’s edge and the text, all four sides. |
tabWidth | : number | Read | Columns a tab advances to. |
spaceBefore | : number | Read | Points inserted above the block (dropped at a column top). |
spaceAfter | : number | Read | Points inserted below the block (dropped at a column top). |
clear | : FlowClear | Read | Drop the block below the floats on the given side(s) before placing it. |