BatesOptions

Overview

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

Options for {@link Document.AddBatesNumbering}.

Properties: background, color, digits, font, fontSize, margin, and 10 more.

Properties

NameTypeAccessDescription
text: stringReadTemplate; {bates} is the counter.
pages: number[] | stringRead1-based pages, or a range string like ‘1-5,8’.
start: numberReadFirst number.
step: numberReadIncrement per stamped page.
digits: numberReadMinimum zero-padded width; a longer number simply widens.
prefix: stringReadText before the number.
suffix: stringReadText after the number.
position: StampPositionReadPositioning preset.
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.