Skip to main content

ChangePictureScaleCommand.execute(x) Method

Executes the ChangePictureScaleCommand command with the specified parameter.

Declaration

execute(
    x: number | Scale,
    y?: number
): boolean

Parameters

Name Type Description
x number | Scale

The picture scale object or the x-scale factor as a percent.

y number

The y-scale factor as a percent.

Returns

Type Description
boolean

true if the command has been successfully executed; false if the command execution has failed.

Remarks

richEdit.commands.changePictureScale.execute({x: 100, y: 100})
See Also