> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Element Property of the ConfusionMatrix Object

Returns the element in the selected cell of the confusion matrix. The value of the element located in the column A, row B, tells you how many documents were classified as belonging to the category A while actually being in the category B. When A and B are the same, you get the number of correctly assigned results for that category.

## Syntax

### C++

```cpp theme={null}
HRESULT get_Element(
  int  RowNumber,
  int  ColNumber,
  int* Result
);
```

### C\#

```csharp theme={null}
int Element( 
  int RowNumber, 
  int ColNumber 
);
```

### Visual Basic .NET

```vb theme={null}
Property Element( _
  RowNumber As Integer, _
  ColumnNumber As Integer _
) As Integer
```

## Parameters

RowNumber

\[in] The index of the row of the confusion matrix where the element is located. It must be in the range from 0 to Size - 1.

ColumnNumber

\[in] The index of the column of the confusion matrix where the element is located. It must be in the range from 0 to Size - 1.

Result

\[out, retval] An integer variable that receives the value of the element.

## See also

[ConfusionMatrix](/fine-reader/engine/api-reference/classification-related-objects/confusionmatrix)
