ChangePageOrientationCommand.execute(orientation) Method
Executes the ChangePageOrientationCommand command with the specified parameter.
Declaration
execute(
orientation: Orientation
): boolean
Parameters
Name | Type | Description |
---|---|---|
orientation | Orientation | The page orientation. |
Returns
Type | Description |
---|---|
boolean | true if the command has been successfully executed; false if the command execution has failed. |
Remarks
richEdit.commands.changePageOrientation.execute(0);
See Also