DAGetTextBlockColorType

Text, Extraction, Color, Direct access functionality

Description

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

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

TextBlockListIDA value returned by the DAExtractPageTextBlocks or ExtractFilePageTextBlocks functions
IndexThe index of the text block. The first text block in the list has an index of 1.

Return values

3 RGB 4 CMYK