ChangeTextBoxResizeShapeToFitTextCommand.execute(resizeShapeToFitText) Method
In This Article
Executes the ChangeTextBoxResizeShapeToFitTextCommand command with the specified parameter.
#Declaration
TypeScript
execute(
resizeShapeToFitText: boolean
): boolean
#Parameters
Name | Type | Description |
---|---|---|
resize |
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