Table of Contents

Class Line

Namespace
IO.Scanbot.Sdk.Ocr.Model
Assembly
DocumentSDK.NET.Droid.dll
public sealed class Line : OcrElement, IParcelable, IJavaObject, IDisposable, IJavaPeerable
Inheritance
Line
Implements
Inherited Members

Constructors

Line(JSONObject)

public Line(JSONObject json)

Parameters

json JSONObject

Line(IDictionary<string, Object>)

public Line(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

Line(string, double, IList<PointF>, IList<Word>)

public Line(string text, double confidence, IList<PointF> roi, IList<Word> words)

Parameters

text string
confidence double
roi IList<PointF>
words IList<Word>

Properties

Confidence

public override double Confidence { get; }

Property Value

double

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Roi

public override IList<PointF> Roi { get; }

Property Value

IList<PointF>

Text

public override string Text { get; }

Property Value

string

Words

public IList<Word> Words { get; }

Property Value

IList<Word>

Methods

Component1()

public string Component1()

Returns

string

Component2()

public double Component2()

Returns

double

Component3()

public IList<PointF> Component3()

Returns

IList<PointF>

Component4()

public IList<Word> Component4()

Returns

IList<Word>

Copy(string, double, IList<PointF>, IList<Word>)

public Line Copy(string text, double confidence, IList<PointF> roi, IList<Word> words)

Parameters

text string
confidence double
roi IList<PointF>
words IList<Word>

Returns

Line

DescribeContents()

public override int DescribeContents()

Returns

int

Get_type()

public override string Get_type()

Returns

string

ToJson(ToJsonConfiguration)

public override JSONObject ToJson(ToJsonConfiguration config)

Parameters

config ToJsonConfiguration

Returns

JSONObject

WriteToParcel(Parcel, ParcelableWriteFlags)

public override void WriteToParcel(Parcel @out, ParcelableWriteFlags flags)

Parameters

out Parcel
flags ParcelableWriteFlags