SetValue
Sets image for all button field widgets
note
This functionality is available in paid ONLYOFFICE Docs editions.
Syntax
expression.SetValue(imageUrl);
expression - A variable that represents a ApiButtonField class.
Parameters
| Name | Required/Optional | Data type | Default | Description |
|---|---|---|---|---|
| imageUrl | Required | string | The URL of the image to set for the button. |
Returns
boolean