Reference · Enum · lib.rs
ImagePageFit Enum
How Bilder in PDF sizes its pages.
enum ImagePageFit {
case photo
case a4
case letter
case width(points: Double)
}public record ImagePageFit {
public record Photo() : ImagePageFit
public record A4() : ImagePageFit
public record Letter() : ImagePageFit
public record Width(double points) : ImagePageFit
}pub enum ImagePageFit {
Photo,
A4,
Letter,
Width { points: f64 },
}Variants
| Variant | Fields | Description |
|---|---|---|
Photo | – | No description yet. |
A4 | – | No description yet. |
Letter | – | No description yet. |
Width | points: f64 | this width in points, the picture's shape (scans) |
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.