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
| Name | Type | Access | Description |
|---|---|---|---|
text | : string | Read | Template; {bates} is the counter. |
pages | : number[] | string | Read | 1-based pages, or a range string like ‘1-5,8’. |
start | : number | Read | First number. |
step | : number | Read | Increment per stamped page. |
digits | : number | Read | Minimum zero-padded width; a longer number simply widens. |
prefix | : string | Read | Text before the number. |
suffix | : string | Read | Text after the number. |
position | : StampPosition | Read | Positioning preset. |
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. |