TextLineResultItem
The TextLineResultItem class represents a text line result item recognized by the library. It is derived from CapturedResultItem.
Definition
Namespace: Dynamsoft.DLR
Inheritance: CapturedResultItem -> TextLineResultItem
public class TextLineResultItem : CapturedResultItem
Methods
| Method | Description |
|---|---|
GetText |
Gets the text content of the text line. |
GetLocation |
Gets the location of the text line in the form of a quadrilateral. |
GetConfidence |
Gets the confidence of the text line recognition result. |
GetCharacterResults |
Gets all the character results. |
GetCharacterResultsCount |
Gets the number of individual character recognition results in the line. |
GetCharacterResult |
Gets the character recognition result at the specified index. |
GetSpecificationName |
Gets the name of the text line specification that generated this item. |
GetRawText |
Gets the recognized raw text, excluding any concatenation separators. |
SetLocation |
Sets the location of the text line. |
GetText
Gets the text content of the text line.
string GetText()
Return Value
Returns the text content of the text line.
GetLocation
Gets the location of the text line in the form of a quadrilateral.
Quadrilateral GetLocation()
Return Value
Returns the location of the text line in the form of a quadrilateral.
See Also
GetConfidence
Gets the confidence of the text line recognition result.
int GetConfidence()
Return Value
Returns the confidence of the text line recognition result.
GetCharacterResults
Gets all the character results.
CharacterResult[] GetCharacterResults()
Return Value
Returns all the character results as a CharacterResult array.
See Also
GetCharacterResultsCount
Gets the number of individual character recognition results in the line.
int GetCharacterResultsCount()
Return value
Returns an integer value representing the number of individual character recognition results.
GetCharacterResult
Gets the character recognition result at the specified index.
CharacterResult GetCharacterResult(int index)
Parameters
[in] index The index of the character recognition result to retrieve.
Return value
Returns the character recognition result.
See Also
GetSpecificationName
Gets the name of the text line specification that generated this item.
string GetSpecificationName()
Return value
Returns the name of the text line specification.
GetRawText
Gets the recognized raw text, excluding any concatenation separators.
string GetRawText()
Return Value
Returns the recognized raw text, excluding any concatenation separators.
SetLocation
Sets the location of the text line.
int SetLocation(Quadrilateral location)
Parameters
[in] location The location of the text line.
Return value
Returns 0 if successful; otherwise returns an error code.
See Also