Share this page

Object Sizes

# sapgui_window_resize

Example: sapgui_window_resize | Window Functions

Resizes the active window.

    int sapgui_window_resize( const char *width, const char *height, [args,]  LAST );

width | Object Sizes
height | Object Sizes
args | Optional 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.

## Parameterization

You can parameterize all string (char type) arguments.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: