ChangePageMarginsCommand.execute Method
Executes the ChangePageMarginsCommand command with the specified parameter.
Declaration
execute(
left?: number | Margins,
top?: number,
right?: number,
bottom?: number
): boolean
Parameters
Name | Type | Description |
---|---|---|
left | number | Margins | The margin settings object or the left margin in twips. |
top | number | The top margin in twips. |
right | number | The right margin in twips. |
bottom | number | The bottom margin in twips. |
Returns
Type | Description |
---|---|
boolean |
|
Remarks
richEdit.commands.changePageMargins.execute({left: 1080, right: 1080, top: 1440, bottom: 1440});
See Also