ChangePageSizeCommand.execute(width) Method
In This Article
Executes the ChangePageSizeCommand command with the specified parameter.
#Declaration
TypeScript
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