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

# SetBlockLayerType Method

This method changes the layer of the block (sets its [IBlock::BlockLayerType](/fine-reader/engine/api-reference/layout-related-objects/block#blocklayertype) property).

## Syntax

### C++

```cpp theme={null}
HRESULT SetBlockLayerType( BlockLayerTypeEnum Value );
```

### C\#

```csharp theme={null}
void SetBlockLayerType( BlockLayerTypeEnum Value );
```

### Visual Basic .NET

```vb theme={null}
Sub SetBlockLayerType(Value As BlockLayerTypeEnum)
```

## Parameters

Value

\[in] The layer to set for this block as one of the [BlockLayerTypeEnum](/fine-reader/engine/api-reference/enumerations/blocklayertypeenum) constants.

## Return values

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

## Remarks

The following objects provide this method:

* Layout and blocks:
  * [RasterPictureBlock](/fine-reader/engine/api-reference/layout-related-objects/rasterpictureblock)
  * [VectorPictureBlock](/fine-reader/engine/api-reference/layout-related-objects/vectorpictureblock)
