THPDFPage.ShowUnicodeText Method
方法摘要: THPDFPage.ShowUnicodeText Method
声明
procedure ShowUnicodeText(Text : WideString; HasRTLChars : boolean= false; HexIsGlyphIDs : boolean= false);
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Text | 值: ShowUnicodeText |
HasRTLChars | 值: ShowUnicodeText |
HexIsGlyphIDs | 值: ShowUnicodeText |
AutoDetectRTL | 当 HasRTLChars 为 false 时,检测从右到左(RTL)的内容 |
返回值
不返回值
使用说明
- 调用: THPDFPage.ShowUnicodeText
HasRTLChars对已知的 RTL 文本段强制按从右到左处理 - 调用方已经确定段落基础方向时,把
AutoDetectRTL设为 false - 段落排版使用此显式模式,这样次要的 RTL 片段就不会覆盖以 LTR 强方向字符开头的判定