|
|
|
как узнать ширину, высоту текста?
|
|||
|---|---|---|---|
|
#18+
как узнать ширину, высоту строки для заданного фонта? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.05.2006, 13:06 |
|
||
|
как узнать ширину, высоту текста?
|
|||
|---|---|---|---|
|
#18+
n_cst_platformwin32 PowerBuilder Help of_GetTextSize function Description Calculates height and width in PBUs, based on the passed input arguments. Access Public Syntax instancename.of_GetTextSize ( window, text, font, fontsize, bold, italic, underline, height, width ) Argument Description instancename Instance name of n_cst_platform window Window variable used by the function to create temporary text text String specifying the text for which the function calculates height and width font String specifying the font fontsize Integer specifying the font size bold Boolean specifying whether text is bold italic Boolean specifying whether text is italic underline Boolean specifying whether text is underlined height Integer into which the function places the text height, in PBUs (passed by reference) width Integer into which the function places the text width, in PBUs (passed by reference) Return value Integer. Returns 1 if the function succeeds and -1 if an error occurs. Usage Call this function when sizing text objects and controls manually in a multiplatform environment. This function calls the GetDC, SelectObject, GetTextExtentPoint32A, and ReleaseDC external functions. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.05.2006, 13:45 |
|
||
|
|

start [/forum/topic.php?fid=15&msg=33731726&tid=1337780]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
58ms |
get topic data: |
10ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
| others: | 246ms |
| total: | 397ms |

| 0 / 0 |
