> ## 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.

# GetAsSeparatorGroup Method of the Block Object

This method returns the block as the [SeparatorGroup](/fine-reader/engine/api-reference/layout-related-objects/separatorgroup) object. If the block is not a separator group block, NULL is returned.

## Syntax

### C++

```cpp theme={null}
HRESULT GetAsSeparatorGroup( ISeparatorGroup** Result );
```

### C\#

```csharp theme={null}
ISeparatorGroup GetAsSeparatorGroup();
```

### Visual Basic .NET

```vb theme={null}
Function GetAsSeparatorGroup() As ISeparatorGroup
```

## Parameters

Result

\[out, retval] A pointer to ISeparatorGroup\* pointer variable that receives the interface pointer to the returned [SeparatorGroup](/fine-reader/engine/api-reference/layout-related-objects/separatorgroup) object.

## Return values

This method has no specific return values. It returns the [standard return codes of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[Block](/fine-reader/engine/api-reference/layout-related-objects/block)

[SeparatorGroup](/fine-reader/engine/api-reference/layout-related-objects/separatorgroup)
