DrawRotatedTextBox
Tekst, Pagina-indeling
Beschrijving
Vergelijkbaar met de functie DrawTextBox, maar hierbij kan de textbox onder elke hoek worden gedraaid
Syntaxis
Delphi
Function TPDFlib.DrawRotatedTextBox(Left, Top, Width, Height, Angle: Double; Const Text: WideString; Options: Integer): Integer;
ActiveX
Function PDFlib::DrawRotatedTextBox(Left As Double, Top As Double, Width As Double, Height As Double, Angle As Double, Text As String, Options As Long) As Long
DLL
int DLDrawRotatedTextBox(int InstanceID, double Left, double Top, double Width, double Height, double Angle, const wchar_t * Text, int Options);
Parameters
| 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 |
| Angle | De hoek waarmee de box rond de linkerbovenhoek wordt gedraaid, in graden tegen de klok in |
| Text | De tekst die in de box wordt geplaatst |
| Options | 0 = Center vertical alignment 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 |
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); |