ChangeCustomNumberingListCommand.execute(abstractNumberingListIndex, listLevelSettings) Method

Executes the ChangeCustomNumberingListCommand command with the specified parameters.

Declaration

execute(
    abstractNumberingListIndex: number,
    listLevelSettings: ListLevelSettings[]
): boolean

Parameters

Name Type Description
abstractNumberingListIndex number

An integer value specifying the numbering list index.

listLevelSettings ListLevelSettings[]

An array of ListLevelSettings objects defining settings for list levels.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

Usage example:

richEdit.commands.changeTableBorderRepositoryItem.execute({color: "red", width: 2, style: BorderLineStyle.Dashed});
See Also