[]
Loads a Ribbon definition from an XML file.
public bool Load(string fileName)
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the file that contains the Ribbon definition. |
| Type | Description |
|---|---|
| bool | False if the file is not in the expected format. |
Loads a Ribbon definition from a Stream.
public bool Load(Stream stream)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream that contains the Ribbon definition. |
| Type | Description |
|---|---|
| bool | False if the stream is not in the expected format. |
Loads a Ribbon definition from an System.Xml.XmlDocument.
public bool Load(XmlDocument doc)
| Type | Name | Description |
|---|---|---|
| XmlDocument | doc | System.Xml.XmlDocument that contains the Ribbon definition. |
| Type | Description |
|---|---|
| bool | False if the XML document is not in the expected format. |