Class AspectRatio
- Namespace
- ScanbotSDK.MAUI.Common
- Assembly
- ScanbotSDK.Shared.dll
Configuration of the finder's aspect ratio.
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; set; }
Property Value
Width
Width component of the aspect ratio. Default is 1.0
public double Width { get; set; }
Property Value
Methods
FromJson(string)
public static AspectRatio FromJson(string rawJson)
Parameters
rawJson
string
Returns
FromNative(AspectRatio)
public static AspectRatio FromNative(AspectRatio source)
Parameters
source
AspectRatio
Returns
ToNative()
public AspectRatio ToNative()