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 LongDLL
int DLDAGetTextBlockColorType(int InstanceID, int TextBlockListID, int Index);Parameters
| TextBlockListID | A value returned by the DAExtractPageTextBlocks or ExtractFilePageTextBlocks functions |
|---|---|
| Index | The index of the text block. The first text block in the list has an index of 1. |
Return values
| 3 RGB 4 CMYK |