DrawVerticalText

Text

Description

Draws one run of text down the page in a named face

Syntax

Delphi

Function TPDFlib.DrawVerticalText(XPos, YPos: Double; Const FontName: WideString;
  Size: Double; Const Text: WideString): Integer;

Parameters

XPos, YPosWhere the run starts. It runs downwards from there
FontNameAn installed face, by name
SizeText size in points
TextThe text to draw

Return values

1The run was drawn
0The text or the face was empty, the size was not positive, or the face could not be read

Remarks

Draws one run without touching the mode set by SetVerticalWritingMode, so a single vertical caption can sit in an otherwise horizontal page

See also

SetVerticalWritingMode, GetVerticalTextHeight, DrawShapedText