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
| PageRange | Pages to stamp; an empty range selects every page |
|---|---|
| StartNumber | Number stamped on the first page of the range |
| Digits | Zero-padding width, 1..12 |
| Position | 1..9 following the keypad layout (7 top-left, 8 top-centre, 9 top-right, 1 bottom-left, ...) |
| FontSize | Stamp text size |
| Prefix, Suffix | Text placed before and after the number |
Return value
The number of pages stamped
Remarks
The stamp uses the currently selected font and text colour