DrawVerticalText
文字
描述
以具名字型面在頁面上直排繪製一段文字
語法
Delphi
Function TPDFlib.DrawVerticalText(XPos, YPos: Double; Const FontName: WideString;
Size: Double; Const Text: WideString): Integer;參數
| XPos, YPos | 序列的起點,由此往下書寫。 |
|---|---|
| FontName | 已安裝的字型面,以名稱指定。 |
| Size | Text size in points. |
| Text | The text to draw. |
傳回值
| 1 | The run was drawn. |
|---|---|
| 0 | 文字或字型面為空、尺寸非正值,或無法讀取字型面。 |
備註
繪製單一段落時不動 SetVerticalWritingMode 設定的模式,讓單一直排標題可以放在整體橫排的頁面上。
另見
SetVerticalWritingMode, GetVerticalTextHeight, DrawShapedText