HeaderFooterOptions

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

NameTypeAccessDescription
header: HeaderFooterBandReadTop band cells; text may contain tokens.
footer: HeaderFooterBandReadBottom band cells; text may contain tokens.
pages: number[] | stringRead1-based pages, or a range string like ‘1-5,8’.
margin: numberReadInset in points from the page edges.
font: AuthoringFontReadStandard-14 face or an AddFont handle.
fontSize: numberReadText size in points.
color: [number, number, number]ReadFill color, components in 0..1.
opacity: numberReadConstant opacity 0..1.
underline: DecorationReadRule below the baseline of the stamped text.
strikethrough: DecorationReadRule through the stamped text.
background: BackgroundReadFill painted behind the stamped text.