ChangeFloatingObjectFillColorCommand.execute(color) Method
In This Article
Executes the ChangeFloatingObjectFillColorCommand command with the specified parameter.
#Declaration
TypeScript
execute(
color: string
): boolean
#Parameters
Name | Type | Description |
---|---|---|
color | string | A string value specifying the color. |
#Returns
Type | Description |
---|---|
boolean |
|
#Remarks
Usage example (it is implied that selection is set to a floating object):
richEdit.commands.changeFloatingObjectFillColor.execute("red");
See Also