Use the RestoreLayoutFromStream method to load the layout of gauges and their elements from the stream to which the layout was saved via the SaveLayoutToStream method. If the specified stream is empty or null (Nothing in Visual Basic), an exception is raised.