Syntax
VMINT vm_graphic_get_text_width_height(
    VMWSTR text, 
    VMINT gap, 
    VMINT* width, 
    VMINT* height, 
    VMINT max_width, 
    VMUINT8 check_line_break, 
    VMUINT8 check_complete_word
);
ContentsIndex
PreviousUpNext
vm_graphic_get_text_width_height
Syntax
VMINT vm_graphic_get_text_width_height(
    VMWSTR text, 
    VMINT gap, 
    VMINT* width, 
    VMINT* height, 
    VMINT max_width, 
    VMUINT8 check_line_break, 
    VMUINT8 check_complete_word
);
Parameters
Parameters 
Description 
VMINT gap 
[IN] gap between each character. 
VMINT* width 
[OUT] width 
VMINT* height 
[OUT] height 
VMINT max_width 
[IN] the draw area for the text 
VMUINT8 check_line_break 
[IN] check line break or not 
VMUINT8 check_complete_word 
[IN] check complete word or not 
Returns

how many character can draw in given width

File

vmgraphic_font.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.