ChangePageSizeCommand.execute(width) Method
Executes the ChangePageSizeCommand command with the specified parameter.
Declaration
execute(
width: number | Size,
height?: number
): boolean
Parameters
| Name | Type | Description |
|---|---|---|
| width | number | Size | The page size object or the page width. |
| height | number | The page height. |
Returns
| Type | Description |
|---|---|
| boolean |
|
Remarks
richEdit.commands.changePageSize.execute({height: 15840, width: 12240});
See Also