Documentation
Table of contents

Thanks for downloading Dynamsoft Label Recognizer Package!

Your download will start shortly. If your download does not begin, click here to retry.

CLocalizedTextLinesUnit

The CLocalizedTextLinesUnit class represents a unit that contains localized text lines. It inherits from the CIntermediateResultUnit class.

Definition

Namespace: dynamsoft::dlr::intermediate_results

Assembly: DynamsoftLabelRecognizer

class CLocalizedTextLinesUnit : public CIntermediateResultUnit

Inheritance: CIntermediateResultUnit -> CLocalizedTextLinesUnit

Methods

Method Description
GetCount Gets the number of localized text lines in the unit.
GetLocalizedTextLine Gets a pointer to a specific localized text line element.
operator[] Gets a pointer to a specific localized text line element.
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.

virtual int GetCount() const = 0;

Return value

Returns the number of localized text lines in the unit.

GetLocalizedTextLine

Gets a pointer to a specific localized text line element.

virtual const CLocalizedTextLineElement* GetLocalizedTextLine(int index) const = 0;

Parameters

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

Return value

Returns a const pointer to the localized text line element at the specified index.

operator[]

Gets a pointer to a specific localized text line element.

virtual const CLocalizedTextLineElement* operator[](int index) const = 0;

Parameters

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

Return value

Returns a const pointer to the localized text line element at the specified index.

RemoveAllLocalizedTextLines

Removes all localized text lines.

virtual void RemoveAllLocalizedTextLines() = 0;

RemoveLocalizedTextLine

Removes the localized text line at the specified index.

virtual int RemoveLocalizedTextLine(int index) = 0;

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.

virtual int AddLocalizedTextLine(const CLocalizedTextLineElement* element, const double matrixToOriginalImage[9] =  IDENTITY_MATRIX) = 0;

Parameters

[in] element 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.

SetLocalizedTextLine

Sets the localized text line at the specified index.

virtual int SetLocalizedTextLine(int index, const CLocalizedTextLineElement* element, const double matrixToOriginalImage[9] =  IDENTITY_MATRIX) = 0;

Parameters

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

[in] element 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.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version(3.2.20)
  • Version 3.x
    • Version 3.2.10
    • Version 3.2.0
    • Version 3.0.30
    • Version 3.0.20
    • Version 3.0.10
    • Version 3.0.0
  • Version 2.x
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.2.20
    • Version 2.2.11
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.0
    • Version 2.0.0
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
    • Version 1.2
    • Version 1.0
    • Version 1.2.1
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support