Debenu Quick PDF logo

GetTextBlockColor

Text, Extraction, Color

Version history

This function was introduced in Quick PDF Library version 9.13.

Description

Returns one component of the color of the text in the specified text block.

The color component value is returned as a value between 0 and 1.

Syntax

Delphi

function TDebenuPDFLibrary1511.GetTextBlockColor(TextBlockListID, Index, 
  ColorComponent: Integer): Double;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::GetTextBlockColor(TextBlockListID As Long,
  Index As Long, ColorComponent As Long) As Double

DLL

double DPLGetTextBlockColor(int InstanceID, int TextBlockListID, int Index,
  int ColorComponent)

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.
ColorComponent For RGB:
1 = Red
2 = Green
3 = Blue
For CMYK:
1 = Cyan
2 = Magenta
3 = Yellow
4 = Black

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport