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. |
| Methods Inherited from CRegionObjectElement: | |
GetLocation |
Gets the location of the region object element. |
GetReferencedElement |
Gets a pointer to a referenced region object element. |
GetElementType |
Gets the type of the region object element. |
GetImageData |
Gets the imageData of the region object element. |
Clone |
Clone the region object element. |
Retain |
Increases the reference count of the CRegionObjectElement object. |
Release |
Decreases the reference count of the CRegionObjectElement object. |
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.