Function LoadThemeFromStream loads the previous recorded theme from the stream with the help of the SaveThemeToStream function. If the theme will be loaded successfully and will return the successor object of the TTeTheme class you can use it for the activation of the theme.