Skip to content

SaveLayoutToXML - cCJCommandBarSystem

Saves a commandbar system's layout to an XML File

Type: Procedure

Parameters

Parameter Type Description
eLayout Integer Determines what is saved. Possible values are:ConstantMeaning
sFileName String Full path and file name of the XML file to be saved to

Syntax

Procedure SaveLayoutToXML Integer eLayout String sFileName

Call Example

Send SaveLayoutToXML eLayout sFileName

Description

SaveLayoutToXML saves a commandbar system's layout to an XML file.

The eLayout parameter determines what information is used to save the layout.

By default this message is not sent during the deactivation of a command bar system. Layout information is normally saved to the registry using the SaveLayouttoRegistry method. SaveLayoutToXML was provided to make it easy to alter this default behavior and to use an XML file instead.

You will typically not augment this method. If you send this method you will mostly likely do so within an augmentation of SaveEnvironment. See SaveEnvironment for an example of replacing SaveLayoutToRegistry with SaveLayoutToXML.