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 LongDLL
int DLGetTextBlockColorType(int InstanceID, int TextBlockListID, int Index);Parameters
| TextBlockListID | A value returned by the ExtractPageTextBlocks function |
|---|---|
| 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 |