THPDFPage.GetWideCharAdvances Method

以当前字体测量 Unicode 字符串:TotalWidth 接收总宽度,Advances 接收每个字符的前进量,单位是 THotPDF.Resolution 的页面单位(1/Resolution inch),与绘图坐标同单位

声明

function GetWideCharAdvances(const Text: WideString; out TotalWidth: Single; out Advances: array of Single): boolean;

单元

HPDFDoc

参数

名称用途
TextGetWideCharAdvances 使用的输入
TotalWidthGetWideCharAdvances 使用的输入
AdvancesGetWideCharAdvances 使用的输入

返回值

能够完成测量时返回 True

使用说明

相关 API