DrawVerticalText
Texto
Descrição
Desenha um trecho de texto descendo pela página em uma face nomeada
Sintaxe
Delphi
Function TPDFlib.DrawVerticalText(XPos, YPos: Double; Const FontName: WideString;
Size: Double; Const Text: WideString): Integer;Parâmetros
| XPos, YPos | Onde o run começa. Ele corre para baixo a partir dali. |
|---|---|
| FontName | An installed face, by name. |
| Size | Text size in points. |
| Text | The text to draw. |
Valores retornados
| 1 | The run was drawn. |
|---|---|
| 0 | O texto ou a face estava vazio, o tamanho não era positivo, ou a face não pôde ser lida. |
Observações
Desenha um run sem tocar no modo definido por SetVerticalWritingMode, de modo que uma única legenda vertical possa conviver em uma página que de resto é horizontal.
Veja também
SetVerticalWritingMode, GetVerticalTextHeight, DrawShapedText