Documentation
Table of contents

LocalizedTextLinesUnit

The LocalizedTextLinesUnit class represents a unit that contains localized text lines. It inherits from the IntermediateResultUnit class.

Definition

Namespace: Dynamsoft.DLR.intermediate_results

class LocalizedTextLinesUnit : IntermediateResultUnit, IEnumerable<LocalizedTextLineElement>

Inheritance: IntermediateResultUnit -> LocalizedTextLinesUnit

Methods

Method Description
GetCount Gets the number of localized text lines in the unit.
GetLocalizedTextLine Gets a specific localized text line element.
GetLocalizedTextLines Gets all localized text line elements.
RemoveAllLocalizedTextLines Removes all localized text lines.
RemoveLocalizedTextLine Removes the localized text line at the specified index.
AddLocalizedTextLine Adds a localized text line.
SetLocalizedTextLine Sets the localized text line at the specified index.

GetCount

Gets the number of localized text lines in the unit.

int GetCount()

Return value

Returns the number of localized text lines in the unit.

GetLocalizedTextLine

Gets a specific localized text line element.

LocalizedTextLineElement GetLocalizedTextLine(int index)

Parameters

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

Return value

Returns the localized text line element at the specified index.

See Also

LocalizedTextLineElement

GetLocalizedTextLines

Gets all localized text line elements.

LocalizedTextLineElement[] GetLocalizedTextLines()

Return value

Returns all the localized text line elements.

See Also

LocalizedTextLineElement

RemoveAllLocalizedTextLines

Removes all localized text lines.

void RemoveAllLocalizedTextLines()

RemoveLocalizedTextLine

Removes the localized text line at the specified index.

int RemoveLocalizedTextLine(int index)

Parameters

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

Return value

Returns 0 if successful, otherwise returns a negative value.

AddLocalizedTextLine

Adds a localized text line.

int AddLocalizedTextLine(LocalizedTextLineElement localizedTextLine, double[] matrixToOriginalImage)

Parameters

[in] localizedTextLine The localized text line element to add.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

LocalizedTextLineElement

SetLocalizedTextLine

Sets the localized text line at the specified index.

int SetLocalizedTextLine(int index, LocalizedTextLineElement localizedTextLine, double[] matrixToOriginalImage)

Parameters

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

[in] localizedTextLine The localized text line element to set.

[in] matrixToOriginalImage The matrix to original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

LocalizedTextLineElement

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: