ChangeTextBoxResizeShapeToFitTextCommand.execute(resizeShapeToFitText) Method
Executes the ChangeTextBoxResizeShapeToFitTextCommand command with the specified parameter.
Declaration
execute(
resizeShapeToFitText: boolean
): boolean
Parameters
| Name | Type | Description |
|---|---|---|
| resizeShapeToFitText | boolean |
|
Returns
| Type | Description |
|---|---|
| boolean |
|
Remarks
Usage example (it is implied that selection is set to a text box object):
rich.commands.changeTextBoxResizeShapeToFitText.execute(true);
See Also