> ## 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 メソッド

> ABBYY FineReader Engine API の VectorPictureBlock Object の SetBlockLayerType メソッド — IBlock::BlockLayerType プロパティを使用してブロックのレイヤー（背景、前景、または非表示）を設定します。

このメソッドは、ブロックが属するレイヤーを変更します ([IBlock::BlockLayerType](/ja/fine-reader/engine/api-reference/layout-related-objects/block#blocklayertype) プロパティを設定します) 。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

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

### C\#

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

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

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

<div id="parameters">
  ## パラメーター
</div>

Value

\[in] このブロックに設定するレイヤーを、[BlockLayerTypeEnum](/ja/fine-reader/engine/api-reference/enumerations/blocklayertypeenum) のいずれかの定数で指定します。

<div id="return-values">
  ## 戻り値
</div>

このメソッドに固有の戻り値はありません。代わりに、[ABBYY FineReader Engine 関数の標準的な戻り値](/ja/fine-reader/engine/api-reference/return-codes)が返されます。

<div id="remarks">
  ## 備考
</div>

このメソッドを提供するオブジェクトは次のとおりです。

* Layout とブロック:
  * [RasterPictureBlock](/ja/fine-reader/engine/api-reference/layout-related-objects/rasterpictureblock)
  * [VectorPictureBlock](/ja/fine-reader/engine/api-reference/layout-related-objects/vectorpictureblock)
