Skybound Rebar

Rebar.LoadState Method 

Loads a state from a RebarState object and applies it to the bands and buttons in a Rebar.

[Visual Basic]
Public Sub LoadState( _
   ByVal state As RebarState _
)
[C#]
public void LoadState(
   RebarState state
);

Parameters

state
The RebarState to load.

Remarks

You can create a new instance of a RebarState object from a file, an XmlWriter, or an XML string.

The following information is loaded: whether the bands have been locked, the location of each band and whether it is visible, the text and image options for each band, and the order and visibility of the buttons on each band.

Use SaveState to save the current state of a rebar to a RebarState object.

See Also

Rebar Class | Skybound.Rebar Namespace