Show contents 

Express > Express Assembly Interfaces > IEaxSelectionPadContext > IEaxSelectionPadContext.RevertCommand

IEaxSelectionPadContext.RevertCommand

Syntax

RevertCommand;

Description

The RevertCommand method resets dimension settings.

Comments

To edit dimension, use the IEaxSelectionPadContext.EditDimension method.

Example

Executing the example requires a form with the button named Button1, the EaxConfigurationPanel component named EaxConfigurationPanel1 and the UiErAnalyzer component that is a data source for EaxConfigurationPanel1. UiErAnalyzer is connected to an express report from repository.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
    sps: ISystemPadContext;
Begin
    sps := EaxConfigurationPanel1.GetActiveContext;
    (sps As IEaxSelectionPadContext).RevertCommand;
End Sub Button1OnClick;

On the side panel go to the Selection tab group and selection dimension. Clicking the button restores all modified and removed dimension elements, added elements will be removed.

See also:

IEaxSelectionPadContext