TableBase Methods
GetCell
Returns a Select filter of the particular cell in the provided column and row.
Syntax:
Parameters:
Parameter
Description
targetColumn
The column containing the cell that we are looking for.
targetRow
The row containing the cell that we are looking for.
Return Value:
A Select filter of the particular cell in the provided column and row.
GetRow
Overload List
Name
Description
Searches a specific row based on an image search in the provided searchColum (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.
Searches a specific row based on a text search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.
GetRow(TColumn, ImageReference, bool, ImageDetectionParameters)
Searches a specific row based on an image search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.
Syntax:
Parameters:
Parameter
Description
searchColumn
The column containing the cell that we are looking for.
imageReference
[returnNullInsteadOfFail]
Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.
[imageParameters]
Type: ImageDetectionParameters
The parameters that shall be used for the imagesearch.
Return Value:
Exceptions:
Exception
Condition
When the row could not be found in the table and returnNullInsteadOfFail is false.
GetRow(TColumn, string, bool, ImageDetectionParameters)
Searches a specific row based on a text search in the provided searchColumn (includes scrolling). By default, method throws an exception if it cannot find the expected row. If returnNullInsteadOfFail is true, it returns null instead of throwing the exception.
Syntax:
Parameters:
Parameter
Description
searchColumn
The column containing the cell that we are looking for.
searchText
[returnNullInsteadOfFail]
Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.
[ocrEngineParameters]
Type: OcrEngineParameters
The parameters that shall be used for the textsearch.
Return Value:
Exceptions:
Exception
Condition
When the row could not be found in the table and returnNullInsteadOfFail is false.
GetRowWithDuplicates
Syntax:
Parameters:
Parameter
Description
searchColumns
Array of Columns in which shall be searched. First entry is used for search, other columns are used to check if all values match the searchTexts.
searchTexts
[returnNullInsteadOfFail]
Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.
[ocrEngineParameters]
Type: OcrEngineParameters
The parameters that shall be used for the textsearch.
Return Value:
Exceptions:
Exception
Condition
When the row could not be found in the table and returnNullInsteadOfFail is false.
VerifyCellContent Method
Verifies the text in a particular cell, defined by the provided column and row, matches the contentToVerify
Syntax:
Parameters:
Parameter
Description
targetColumn
The column containing the cell that we are looking for.
targetRow
The row containing the cell that we are looking for.
contentToVerify
[returnNullInsteadOfFail]
Whether null or an exception shall be returned when the row cannot be found. Default false, so exception will be thrown.
[ocrEngineParameters]
Type: OcrEngineParameters
The parameters that shall be used for the textsearch.
Return Value:
True if the cell content matches the contentToVerify, false otherwise.
Last updated
Was this helpful?