DrawRotatedTextBoxExA
Text, Page layout
Description
O sufixo A indica o ponto de entrada ANSI (char) da DLL; a superfície ActiveX/COM expõe apenas a forma Unicode. O comportamento é idêntico ao de DrawRotatedTextBoxEx e os argumentos de cadeia de caracteres são interpretados com base na página de código atual definida por SetAnsiMode
Similar to the DrawRotatedTextBoxEx function, but allows the text box to show borders.
Syntax
Delphi
Function DLDrawRotatedTextBoxExA(InstanceID: Integer; Left, Top, Width, Height, Angle: Double; Text: PAnsiChar; Options, Border, Radius, DrawOptions: Integer): Integer;
DLL
int DLDrawRotatedTextBoxExA(int InstanceID, double Left, double Top, double Width, double Height, double Angle, const char * Text, int Options, int Border, int Radius, int DrawOptions);
Parameters
Left
The horizontal co-ordinate of the top-left corner of the text box
Top
The vertical co-ordinate of the top-left corner of the text box
Width
The width of the box
Height
The height of the box
The angle the box should be rotated around the top-left corner, measured anti-clockwise in degrees
Angle
Text
The text to draw on the page
0 = Alinhamento vertical ao centro
1 = Alinhamento vertical ao topo
2 = Alinhamento vertical à base
3 = Alinhamento vertical ao centro, sem moldagem de texto
4 = Alinhamento vertical ao topo, sem moldagem de texto
5 = Alinhamento vertical à base, sem moldagem de texto
Options
Border
0 = Sem margem
1 = Margem
2 = Margem com cantos arredondados
Radius of the corner arcs
Radius
DrawOptions
0 = Contorno
1 = Preenchimento
2 = Preenchimento e contorno
Return values
| 0 | The Options parameter was out of range, or the Width parameter was too small to contain any text |
|---|---|
| Non-zero | The number of lines of text actually drawn int Options, int Border, int Radius, int DrawOptions); |