Reference · Enum · tools.rs
CropMargins Enum
No description yet.
enum CropMargins {
case auto
case fixed(top: Double, bottom: Double, left: Double, right: Double)
}public record CropMargins {
public record Auto() : CropMargins
public record Fixed(double top, double bottom, double left, double right) : CropMargins
}pub enum CropMargins {
Auto,
Fixed { top: f64, bottom: f64, left: f64, right: f64 },
}Variants
| Variant | Fields | Description |
|---|---|---|
Auto | – | the inked area of the first page, plus 4 mm |
Fixed | top: f64bottom: f64left: f64right: f64 | millimetres as seen |
Used by
Live demo
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.