AddBatesNumbering

Page manipulation

Description

Stamps sequential Bates numbers across a range

Syntax

Delphi

Function AddBatesNumbering(Const PageRange: WideString; StartNumber, Digits, Position: Integer; FontSize: Double; Const Prefix, Suffix: WideString): Integer;

Parameters

PageRangePages to stamp; an empty range selects every page
StartNumberNumber stamped on the first page of the range
DigitsZero-padding width, 1..12
Position1..9 following the keypad layout (7 top-left, 8 top-centre, 9 top-right, 1 bottom-left, ...)
FontSizeStamp text size
Prefix, SuffixText placed before and after the number

Return value

The number of pages stamped

Remarks

The stamp uses the currently selected font and text colour

See also

AddPageFooter, ExpandStampTokens