Reference · Record · tools.rs
PageNumberOptions Record
No description yet.
struct PageNumberOptions {
var template: String
var bates: Bates?
var start: UInt64?
var position: UInt8
var margin: Double
var face: StampFace
var bold: Bool
var size: Double
var color: RgbColor
var from: UInt32
var to: UInt32?
}public record PageNumberOptions(
string template,
Bates? bates,
ulong? start,
byte position,
double margin,
StampFace face,
bool bold,
double size,
RgbColor color,
uint from,
uint? to
)pub struct PageNumberOptions {
pub template: String,
pub bates: Option<Bates>,
pub start: Option<u64>,
pub position: u8,
pub margin: f64,
pub face: StampFace,
pub bold: bool,
pub size: f64,
pub color: RgbColor,
pub from: u32,
pub to: Option<u32>,
}Fields
| Field | Type | Description |
|---|---|---|
template | String | "{n}", "Seite {n} von {N}" …; ignored for Bates |
bates | Option<Bates> | Bates numbering (Pro): prefix + zero-padded number + suffix |
start | Option<u64> | the first stamped page gets this number (Pro) |
position | u8 | 0..8, reading order, centre excluded |
margin | f64 | No description yet. |
face | StampFace | No description yet. |
bold | bool | No description yet. |
size | f64 | No description yet. |
color | RgbColor | No description yet. |
from | u32 | 0-based, inclusive; None = to the end |
to | Option<u32> | No description yet. |
Used by
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.