CLocalizedTextLineElement
The CLocalizedTextLineElement
class represents a localized text line element. It inherits from the CRegionObjectElement
class.
Definition
Namespace: dynamsoft::dlr::intermediate_results
Assembly: DynamsoftLabelRecognizer
class CLocalizedTextLineElement : public CRegionObjectElement
Inheritance: CRegionObjectElement -> CLocalizedTextLineElement
Methods
Method | Description |
---|---|
GetCharacterQuadsCount |
Gets the number of character quads in the text line. |
GetCharacterQuad |
Gets the quadrilateral of a specific character in the text line. |
GetRowNumber |
Gets the row number of the text line. |
GetCharacterQuadsCount
Gets the number of character quads in the text line.
int GetCharacterQuadsCount() const
Return value
Returns the number of character quads in the text line.
GetCharacterQuad
Gets the quadrilateral of a specific character in the text line.
int GetCharacterQuad(int index, CQuadrilateral* quad) const
Parameters
[in] index
The index of the character.
[out] quad
The quadrilateral of the character.
Return value
Returns 0 if successful, otherwise returns a negative value.
GetRowNumber
Gets the row number of the text line.
int GetRowNumber() const
Return value
Returns the row number of the text line.