HeaderFooterOptions
Overview
HeaderFooterOptions is a interface in Aspose.PDF FOSS for TypeScript.
Options for {@link Document.AddHeaderFooter}.
Properties: background, color, font, fontSize, footer, header, and 5 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
header | : HeaderFooterBand | Read | Top band cells; text may contain tokens. |
footer | : HeaderFooterBand | Read | Bottom band cells; text may contain tokens. |
pages | : number[] | string | Read | 1-based pages, or a range string like ‘1-5,8’. |
margin | : number | Read | Inset in points from the page edges. |
font | : AuthoringFont | Read | Standard-14 face or an AddFont handle. |
fontSize | : number | Read | Text size in points. |
color | : [number, number, number] | Read | Fill color, components in 0..1. |
opacity | : number | Read | Constant opacity 0..1. |
underline | : Decoration | Read | Rule below the baseline of the stamped text. |
strikethrough | : Decoration | Read | Rule through the stamped text. |
background | : Background | Read | Fill painted behind the stamped text. |