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

# GetAsRasterPictureBlock Method of the Block Object

This method returns the block as the [RasterPictureBlock](/fine-reader/engine/api-reference/layout-related-objects/rasterpictureblock) object. If the block is not a raster picture block, NULL is returned.

## Syntax

### C++

```cpp theme={null}
HRESULT GetAsRasterPictureBlock( IRasterPictureBlock** Result);
```

### C\#

```csharp theme={null}
IRasterPictureBlock GetAsRasterPictureBlock();
```

### Visual Basic .NET

```vb theme={null}
Function GetAsRasterPictureBlock() As IRasterPictureBlock
```

## Parameters

Result

\[out, retval] A pointer to IRasterPictureBlock\* pointer variable that receives the interface pointer to the returned [RasterPictureBlock](/fine-reader/engine/api-reference/layout-related-objects/rasterpictureblock) 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)

[RasterPictureBlock](/fine-reader/engine/api-reference/layout-related-objects/rasterpictureblock)
