Skip to main content

SetDifferentFirstPageHeaderFooterCommand.execute Method

Executes the SetDifferentFirstPageHeaderFooterCommand command with the specified parameter.

Declaration

execute(
    differentFirstPage?: boolean
): boolean

Parameters

Name Type Description
differentFirstPage boolean

true to apply a different text for the first page’s header and footer, 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.setDifferentFirstPageHeaderFooter.execute(true);
See Also