| |
|
|
Stephan Sonneborn | Hi,
somehow understand I either The Help not correctly. or The automatic Texthöhenermittlung is something buggy... ought to not a suitable Texthöhe determined go, so the Text into rectangle fit and ought to not The ursprüngliche Formatierung (right, center or left) not receive stay? CompileMarkSeparationCLS
USEFONT "Arial", 36, 0, 0, 0, 0
TEXTCOLOR RGB(000,000,000), RGB(255,255,000)
DRAWTEXT 10, 10,150, 30,"Test", 0
DRAWTEXT 10, 30,150, 50,"Test", 1
DRAWTEXT 10, 50,150, 70,"Test", 2
DRAWTEXT 10, 70,150, 90,"Test"+STR$(%TEXTHEIGHT), (0 + 1024)
USEFONT "Arial", %TEXTHEIGHT, 0, 0, 0, 0
DRAWTEXT 10, 90,150,110,"Test"+STR$(%TEXTHEIGHT), (1 + 1024)
DRAWTEXT 10,110,150,130,"Test"+STR$(%TEXTHEIGHT), (2 + 1024)
WAI
|
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 06/19/11 ▲ |
|
|
|
|
RGH | Hi, there understand You objectively something wrong. DT_CALCRECT (1024) bewirkt not, that The Fonthöhe automatically so chosen becomes, that the Text in that rectangle fit, separate very inverse (as well as the name the ? Happen? suppose can), that the rectangle so chosen becomes, that the Text in gewählter Fondgröße hineinpasst. The DY-worth becomes means ignoring and automatically accounts. this is particularly meaningfully, if one z.B. more crowds Fließtext with Line break spend would like. The Systemvariable %TEXTHEIGHT gives then on, How big DY objectively errechnet watts. this is Yes important, in order to know, on which place one whom next distribution positioniert.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 06/19/11 ▲ |
|
|
|
|
Stephan Sonneborn | Hello Roland,
I see! now Have too ichs understood
and What is with the Flag +1024? |
|
|
| Schöne Grüße aus Wittgenstein von Stephan
Programmierumgebung:| XProfan X4 | WIN10 | AMD FX6100 3,3 GHz | 06/19/11 ▲ |
|
|
|