Table of Contents

Class Block

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

Constructors

Block(JSONObject)

public Block(JSONObject json)

Parameters

json JSONObject

Block(IDictionary<string, Object>)

public Block(IDictionary<string, Object> source)

Parameters

source IDictionary<string, Object>

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

public Block(string text, double confidence, IList<PointF> roi, IList<Line> lines)

Parameters

text string
confidence double
roi IList<PointF>
lines IList<Line>

Properties

Confidence

public override double Confidence { get; }

Property Value

double

Creator

public static IParcelableCreator Creator { get; }

Property Value

IParcelableCreator

Lines

public IList<Line> Lines { get; }

Property Value

IList<Line>

Roi

public override IList<PointF> Roi { get; }

Property Value

IList<PointF>

Text

public override string Text { get; }

Property Value

string

Methods

Component1()

public string Component1()

Returns

string

Component2()

public double Component2()

Returns

double

Component3()

public IList<PointF> Component3()

Returns

IList<PointF>

Component4()

public IList<Line> Component4()

Returns

IList<Line>

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

public Block Copy(string text, double confidence, IList<PointF> roi, IList<Line> lines)

Parameters

text string
confidence double
roi IList<PointF>
lines IList<Line>

Returns

Block

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