Skip to main content
cut

RichEditCommands.changePageOrientation Property

Gets a command to apply page orientation settings to sections located within a selected range.

#Declaration

TypeScript
get changePageOrientation(): ChangePageOrientationCommand

#Property Value

Type Description
ChangePageOrientationCommand

An object that provides methods that execute the command and check its state.

#Remarks

Call the execute(orientation) method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.changePageOrientation.execute(ASPx.Orientation.Portrait);

Refer to the following section for more information: Client Commands.

See Also