Skip to main content

SetDifferentOddAndEvenPagesHeaderFooterCommand.execute Method

Executes the SetDifferentOddAndEvenPagesHeaderFooterCommand command with the specified parameter.

Declaration

execute(
    differentOddAndEvenPages?: boolean
): boolean

Parameters

Name Type Description
differentOddAndEvenPages boolean

true to apply a different text for the header and footer of the odd and even pages , false to remove the difference.

Returns

Type Description
boolean

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

Remarks

Usage example:

richEdit.commands.setDifferentOddAndEvenPagesHeaderFooter.execute(true);
See Also