Documentation
Table of contents

RawTextLinesUnit

The RawTextLinesUnit class represents an intermediate result unit containing raw text lines. It inherits from the IntermediateResultUnit class.

Definition

Namespace: Dynamsoft.DLR.intermediate_results

class RawTextLinesUnit : IntermediateResultUnit, IEnumerable<RawTextLine>

Inheritance: IntermediateResultUnit -> RawTextLinesUnit

Methods

Method Description
GetCount Gets the number of raw text lines in the unit.
GetRawTextLine Gets a specific raw text line.
GetRawTextLines Gets all raw text lines.
RemoveAllRawTextLines Removes all raw text lines.
RemoveRawTextLine Removes the raw text line at the specified index.
AddRawTextLine Adds a raw text line.
SetRawTextLine Sets the raw text line at the specified index.

GetCount

Gets the number of raw text lines in the unit.

int GetCount()

Return value

Returns the number of raw text lines in the unit.

GetRawTextLine

Gets a specific raw text line.

RawTextLine GetRawTextLine(int index)

Parameters

[in] index The index of the raw text line to retrieve.

Return value

Returns the raw text line at the specified index.

See Also

RawTextLine

GetRawTextLines

Gets all raw text lines.

RawTextLine[] GetRawTextLines()

Return value

Returns all the raw text lines.

See Also

RawTextLine

RemoveAllRawTextLines

Removes all raw text lines.

void RemoveAllRawTextLines()

RemoveRawTextLine

Removes the raw text line at the specified index.

int RemoveRawTextLine(int index)

Parameters

[in] index The index of the raw text line to remove.

Return value

Returns 0 if successful, otherwise returns a negative value.

AddRawTextLine

Adds a raw text line.

int AddRawTextLine(RawTextLine textline, double[] matrixToOriginalImage = null)

Parameters

[in] textline The raw text line to add.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

RawTextLine

SetRawTextLine

Sets the raw text line at the specified index.

int SetRawTextLine(int index, RawTextLine textline, double[] matrixToOriginalImage = null)

Parameters

[in] index The index of the raw text line to set.

[in] textline The raw text line to set.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

RawTextLine

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: