Restores the layout of gauges and their elements from the specified stream.
public virtual void RestoreLayoutFromStream( Stream stream )
Public Overridable Sub RestoreLayoutFromStream( stream As Stream )
A Stream descendant which stores the layout.
Use the RestoreLayoutFromStream method to load the layout of gauges and their elements from the stream to which the layout was saved via the GaugeControlBase.SaveLayoutToStream method. If the specified stream is empty or null (Nothing in Visual Basic), an exception is raised.