Table of Contents

Class DocumentScannerParameters

Namespace
IO.Scanbot.Sdk.Document
Assembly
DocumentSDK.NET.Droid.dll
public sealed class DocumentScannerParameters : Object, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
DocumentScannerParameters
Implements

Constructors

DocumentScannerParameters()

public DocumentScannerParameters()

DocumentScannerParameters(JSONObject)

public DocumentScannerParameters(JSONObject json)

Parameters

json JSONObject

DocumentScannerParameters(IDictionary<string, Object>)

public DocumentScannerParameters(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

DocumentScannerParameters(int, int, int, int, IList<AspectRatio>, bool)

public DocumentScannerParameters(int acceptedAngleScore, int acceptedSizeScore, int acceptedBrightnessThreshold, int acceptedAspectRatioScore, IList<AspectRatio> aspectRatios, bool ignoreOrientationMismatch)

Parameters

acceptedAngleScore int
acceptedSizeScore int
acceptedBrightnessThreshold int
acceptedAspectRatioScore int
aspectRatios IList<AspectRatio>
ignoreOrientationMismatch bool

Properties

AcceptedAngleScore

public int AcceptedAngleScore { get; set; }

Property Value

int

AcceptedAspectRatioScore

public int AcceptedAspectRatioScore { get; set; }

Property Value

int

AcceptedBrightnessThreshold

public int AcceptedBrightnessThreshold { get; set; }

Property Value

int

AcceptedSizeScore

public int AcceptedSizeScore { get; set; }

Property Value

int

AspectRatios

public IList<AspectRatio> AspectRatios { get; set; }

Property Value

IList<AspectRatio>

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

IgnoreOrientationMismatch

public bool IgnoreOrientationMismatch { get; set; }

Property Value

bool

Methods

Component1()

public int Component1()

Returns

int

Component2()

public int Component2()

Returns

int

Component3()

public int Component3()

Returns

int

Component4()

public int Component4()

Returns

int

Component5()

public IList<AspectRatio> Component5()

Returns

IList<AspectRatio>

Component6()

public bool Component6()

Returns

bool

Copy(int, int, int, int, IList<AspectRatio>, bool)

public DocumentScannerParameters Copy(int acceptedAngleScore, int acceptedSizeScore, int acceptedBrightnessThreshold, int acceptedAspectRatioScore, IList<AspectRatio> aspectRatios, bool ignoreOrientationMismatch)

Parameters

acceptedAngleScore int
acceptedSizeScore int
acceptedBrightnessThreshold int
acceptedAspectRatioScore int
aspectRatios IList<AspectRatio>
ignoreOrientationMismatch bool

Returns

DocumentScannerParameters

Default()

public static DocumentScannerParameters Default()

Returns

DocumentScannerParameters

DescribeContents()

public int DescribeContents()

Returns

int

ToJson(ToJsonConfiguration)

public JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags