GetTextBlockColorType

Text, Extraction, Color

Description

Returns the type of color of the text in the specified text block.

Syntax

Delphi

function TPDFlib.GetTextBlockColorType(TextBlockListID, Index: Integer): Integer;

ActiveX

Function PDFlib::GetTextBlockColorType(TextBlockListID As Long, Index As Long) As Long

DLL

int DLGetTextBlockColorType(int InstanceID, int TextBlockListID, int Index);

Parameters

TextBlockListIDA value returned by the ExtractPageTextBlocks function
IndexThe index of the text block. The first text block in the list has an index of 1.

Return values

3 RGB 4 CMYK