LibreOffice 24.8 Help
Returns a numeric value that specifies the graphical user interface.
This function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.
GetGUIType()
Integer
1: Windows
4: UNIX
Sub ExampleEnvironment
MsgBox GetGUIType
End Sub