Object Sizes


Example: sapgui_window_resizeWindow Functions

Resizes the active window.

int sapgui_window_resize( const char *width, const char *height, [args,]  LAST );
widthObject Sizes
heightObject Sizes
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_window_resize resizes the active window to width and height.

Object Sizes

Object sizes are in expressed in character metric. A object of width 100 can display approximately 100 characters of the default font and size. A height of 21 means that approximately 21 lines of text of the default font and size can be displayed.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.


You can parameterize all string (char type) arguments.