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.
GetAuxiliaryRegionElements Gets all auxiliary region elements.
SetAuxiliaryRegionElement Sets the auxiliary region element at the specified index.
AddAuxiliaryRegionElement Adds a new auxiliary region element to this unit.
RemoveAuxiliaryRegionElement Removes the auxiliary region element at the specified index.
RemoveAllAuxiliaryRegionElements Removes all auxiliary region elements from this unit.

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

GetAuxiliaryRegionElements

Gets all auxiliary region elements.

AuxiliaryRegionElement[] GetAuxiliaryRegionElements()

Return value

Returns an array of AuxiliaryRegionElement objects.

See Also

AuxiliaryRegionElement

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

SetAuxiliaryRegionElement

Sets or replaces the auxiliary region element at the specified index.

int SetAuxiliaryRegionElement(int index, AuxiliaryRegionElement element, double[] matrixToOriginalImage)

Parameters

[in] index The zero-based index where the element should be set.

[in] element The auxiliary region element to set.

[in] matrixToOriginalImage The transformation matrix from the current image to the original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

AuxiliaryRegionElement

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

AddAuxiliaryRegionElement

Adds a new auxiliary region element to this unit.

int AddAuxiliaryRegionElement(AuxiliaryRegionElement element, double[] matrixToOriginalImage)

Parameters

[in] element The auxiliary region element to add.

[in] matrixToOriginalImage The transformation matrix from the current image to the original image.

Return value

Returns 0 if successful, otherwise returns a negative value.

See Also

AuxiliaryRegionElement

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

RemoveAuxiliaryRegionElement

Removes the auxiliary region element at the specified index.

int RemoveAuxiliaryRegionElement(int index)

Parameters

[in] index The zero-based index of the auxiliary region element to remove.

Return value

Returns 0 if successful, otherwise returns a negative value.

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

RemoveAllAuxiliaryRegionElements

Removes all auxiliary region elements from this unit.

void RemoveAllAuxiliaryRegionElements()

Remarks

Introduced in Dynamsoft Capture Vision version 3.4.1000.

This page is compatible for: