Skip to main content
This method returns the block as the TextBlock object. If the block is not a text block, NULL is returned.

Syntax

C++

HRESULT GetAsTextBlock( ITextBlock** Result );

C#

ITextBlock GetAsTextBlock();

Visual Basic .NET

Function GetAsTextBlock() As ITextBlock

Parameters

Result [out, retval] A pointer to ITextBlock* pointer variable that receives the interface pointer to the returned TextBlock object.

Return values

This method has no specific return values. It returns the standard return codes of ABBYY FineReader Engine functions.

See also

Block TextBlock