GetTextBlockCharMatrix

文本、提取、几何

描述

以选定文档坐标返回字符单元变换

语法

Delphi

Function TPDFlib.GetTextBlockCharMatrix(TextBlockListID, Index, CharIndex: Integer; Out M11, M12, M21, M22, MDX, MDY: Double): Integer;

参数

M11, M12从本字符原点到下一单元原点的基线前进向量
M21, M22完整字符单元高度向量,保留旋转与剪切
MDX, MDY字符的基线原点

返回值

成功时返回 1;句柄或索引无效时返回 0 且输出全为 0

备注

矩阵在单次提取过程中保留,使重复查询保持常量时间需要精确的下伸调整单元角点时请使用

GetTextBlockCharQuad

另请参阅

GetTextBlockCharQuad, DAGetTextBlockCharMatrix