DrawRotatedTextBoxEx
Tekst, Pagina-indeling
Beschrijving
Vergelijkbaar met de functie DrawRotatedTextBoxEx, maar hierbij kan de textbox randen tonen
Syntaxis
Delphi
Function TPDFlib.DrawRotatedTextBoxEx(Left, Top, Width, Height, Angle: Double; Const Text: WideString; Options: Integer; Border, Radius, DrawOptions: Integer): Integer;
ActiveX
Function PDFlib::DrawRotatedTextBoxEx(Left As Double, Top As Double, Width As Double, Height As Double, Angle As Double, Text As String, Options As Long, Border As Long, Radius As Long, DrawOptions As Long) As Long
DLL
int DLDrawRotatedTextBoxEx(int InstanceID, double Left, double Top, double Width, double Height, double Angle, const wchar_t * Text, int Options, int Border, int Radius, int DrawOptions);
Syntaxis
Left
De horizontale coördinaat van de linkerbovenhoek van de textbox
Top
De verticale coördinaat van de linkerbovenhoek van de textbox
Width
De breedte van de box
Height
De hoogte van de box
De hoek waarmee de box rond de linkerbovenhoek wordt gedraaid, in graden tegen de klok in
Angle
Text
De tekst die op de pagina moet worden getekend
0 = Verticaal gecentreerd
1 = Top vertical alignment
2 = Bottom vertical alignment
3 = Center vertical alignment, no wrapping
4 = Top vertical alignment, no wrapping
5 = Bottom vertical alignment, no wrapping
Options
Border
0 = No Border
1 = Border
2 = rand met afgeronde hoeken
De straal van de hoekbogen
Radius
DrawOptions
0 = Outline
1 = Fill
2 = Fill and outline
Retourwaarden
| 0 | De parameter Options was buiten bereik, of de parameter Width was te klein om tekst te bevatten |
|---|---|
| Non-zero | Het aantal regels tekst dat daadwerkelijk is getekend int Options, int Border, int Radius, int DrawOptions); |