DAGetTextBlockCharQuad

Direct access, Text, Geometry

Description

Returns the descent-adjusted four-corner character cell in raw page coordinates

Syntax

Delphi

Function TPDFlib.DAGetTextBlockCharQuad(TextBlockListID, Index, CharIndex: Integer; Out X1, Y1, X2, Y2, X3, Y3, X4, Y4: Double): Integer;

Outputs

The points follow lower start, lower end, upper end and upper start order in the source cell

Return value

1 on success, or 0 with zero outputs for an invalid handle or index

Remarks

Use the quad for exact rotated or sheared hit testing

See also

DAGetTextBlockCharLooseBox, GetTextBlockCharQuad