THPDFPage.WideTextOutBoxEx Method
方法摘要: THPDFPage.WideTextOutBoxEx Method
声明
function WideTextOutBoxEx(X, Y, LineSpacing, BoxWidth, BoxHeight: Integer; Text: WideString; Align: THPDFJustificationType): THPDFTextOutBoxResult;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
X | Left position of the text box |
Y | Top position of the text box |
LineSpacing | WideTextOutBoxEx 使用的输入 |
BoxWidth | WideTextOutBoxEx 使用的输入 |
BoxHeight | WideTextOutBoxEx 使用的输入 |
Text | Unicode text to render |
Align | WideTextOutBoxEx 使用的输入 |
返回值
THPDFTextOutBoxResult with layout and overflow details
使用说明
- Use this API for Unicode text workflows that need fitting results
- Use THPDFPage.WideTextOutBox for the simpler output-only workflow
- 页面级更改会影响同一页面的后续操作符;临时设置不应外泄时,请保存并恢复图形状态