Class AspectRatio
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Aspect ratio is the ratio of the width to the height of an image or screen.
public class AspectRatio
- Inheritance
-
AspectRatio
- Inherited Members
Constructors
AspectRatio()
public AspectRatio()
AspectRatio(double, double)
public AspectRatio(double width, double height)
Parameters
Fields
A4DocumentPortraitAspectRatio
public static AspectRatio A4DocumentPortraitAspectRatio
Field Value
Properties
CommonMedicalCertificateRatios
public static IEnumerable<AspectRatio> CommonMedicalCertificateRatios { get; }
Property Value
CommonPayFormRatios
public static IEnumerable<AspectRatio> CommonPayFormRatios { get; }
Property Value
DefaultTextDataScannerRatio
public static AspectRatio DefaultTextDataScannerRatio { get; }
Property Value
EuropeanIdentityCardRatios
public static IEnumerable<AspectRatio> EuropeanIdentityCardRatios { get; }
Property Value
Height
Height component of the aspect ratio.
Default is 1.0
public double Height { get; init; }
Property Value
Width
Width component of the aspect ratio.
Default is 1.0
public double Width { get; init; }