GetGuiType Function [Runtime]

From LibreOffice Help
Jump to: navigation, search

Returns a numerical value that specifies the graphical user interface.

This runtime function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.

Syntax:

GetGUIType()

Return value:

Integer

Return values:

1: Windows

4: UNIX

Example:

Sub ExampleEnvironment
    MsgBox GetGUIType
End Sub