Table of Contents

Class ConvertModels

Namespace
ScanbotSDK.MAUI.Droid.Utils
Assembly
DocumentSDK.MAUI.dll
public static class ConvertModels
Inheritance
ConvertModels
Inherited Members

Methods

ToDateTime(Date)

public static DateTime? ToDateTime(this Date date)

Parameters

date Date

Returns

DateTime?

ToImageSource(byte[])

public static ImageSource ToImageSource(this byte[] bytes)

Parameters

bytes byte[]

Returns

ImageSource

ToMaui(RectF)

public static RectF ToMaui(this RectF rect)

Parameters

rect RectF

Returns

RectF

ToMaui(CheckBox)

public static MedicalCertificateCheckbox ToMaui(this CheckBox box)

Parameters

box CheckBox

Returns

MedicalCertificateCheckbox

ToMaui(DateRecord)

public static MedicalCertificateDate ToMaui(this DateRecord date)

Parameters

date DateRecord

Returns

MedicalCertificateDate

ToMaui(McPatientInfoField)

public static MedicalCertificatePatientField ToMaui(this McPatientInfoField date)

Parameters

date McPatientInfoField

Returns

MedicalCertificatePatientField

ToMaui(MedicalCertificateRecognizerResultInfo)

public static MedicalCertificateResult ToMaui(this MedicalCertificateRecognizerResultInfo result)

Parameters

result MedicalCertificateRecognizerResultInfo

Returns

MedicalCertificateResult

ToMaui(MRZGenericDocument)

public static MrzScannerResult ToMaui(this MRZGenericDocument result)

Parameters

result MRZGenericDocument

Returns

MrzScannerResult

ToMaui(OcrResultBlock)

public static OcrResultBlock ToMaui(this OcrResultBlock block)

Parameters

block OcrResultBlock

Returns

OcrResultBlock

ToMaui(BarcodeItem)

public static Barcode ToMaui(this BarcodeItem item)

Parameters

item BarcodeItem

Returns

Barcode

ToMaui(MedicalCertificateRecognizerResult)

public static MedicalCertificateResult ToMaui(this MedicalCertificateRecognizerResult result)

Parameters

result MedicalCertificateRecognizerResult

Returns

MedicalCertificateResult

ToMaui(OcrResult)

public static OcrResult ToMaui(this OcrResult result)

Parameters

result OcrResult

Returns

OcrResult

ToMaui(ScanbotSDK, DetectionResult, Bitmap, ResultOptions)

public static Task<DocumentDetectionResult> ToMaui(ScanbotSDK scanbotSDK, DetectionResult nativeResult, Bitmap image = null, ResultOptions resultOptions = null)

Parameters

scanbotSDK ScanbotSDK
nativeResult DetectionResult
image Bitmap
resultOptions ResultOptions

Returns

Task<DocumentDetectionResult>

ToMauiBarcodes(List<BarcodeItem>)

public static List<Barcode> ToMauiBarcodes(this List<BarcodeItem> items)

Parameters

items List<BarcodeItem>

Returns

List<Barcode>

ToNative(ImageSource)

public static Task<Bitmap> ToNative(this ImageSource source)

Parameters

source ImageSource

Returns

Task<Bitmap>

ToNative(Color)

public static int ToNative(this Color color)

Parameters

color Color

Returns

int

ToNative(AspectRatio)

public static AspectRatio ToNative(this AspectRatio ratio)

Parameters

ratio AspectRatio

Returns

AspectRatio

ToNative(OcrConfig)

public static IOpticalCharacterRecognizer ToNative(this OcrConfig config)

Parameters

config OcrConfig

Returns

IOpticalCharacterRecognizer

ToNative(PDFAttributes)

public static PdfAttributes ToNative(this PDFAttributes attributes)

Parameters

attributes PDFAttributes

Returns

PdfAttributes

ToNative(TiffOptions)

public static TIFFImageWriterParameters ToNative(this TiffOptions options)

Parameters

options TiffOptions

Returns

TIFFImageWriterParameters

ToNative(EncryptionMode)

public static AESEncryptedFileIOProcessor.AESEncrypterMode ToNative(this EncryptionMode mode)

Parameters

mode EncryptionMode

Returns

AESEncryptedFileIOProcessor.AESEncrypterMode

ToNative(GenericDocumentRootType[])

public static RootDocumentType[] ToNative(this GenericDocumentRootType[] documentTypes)

Parameters

documentTypes GenericDocumentRootType[]

Returns

RootDocumentType[]

ToNative(ParametricFilter[])

public static ParametricFilter[] ToNative(this ParametricFilter[] filters)

Parameters

filters ParametricFilter[]

Returns

ParametricFilter[]

ToNative(ZoomRange)

public static ZoomRange ToNative(this ZoomRange ratio)

Parameters

ratio ZoomRange

Returns

ZoomRange

ToNative(IEnumerable<ImageSource>)

public static Task<List<Bitmap>> ToNative(this IEnumerable<ImageSource> sources)

Parameters

sources IEnumerable<ImageSource>

Returns

Task<List<Bitmap>>

ToNative(IEnumerable<AspectRatio>)

public static IList<AspectRatio> ToNative(this IEnumerable<AspectRatio> requiredAspectRatios)

Parameters

requiredAspectRatios IEnumerable<AspectRatio>

Returns

IList<AspectRatio>

ToString(ParametricFilter[])

public static string ToString(this ParametricFilter[] filters)

Parameters

filters ParametricFilter[]

Returns

string