Skip to main content

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

NameRequired/OptionalData typeDefaultDescription
imageUrlRequiredstringThe URL of the image to set for the button.

Returns

boolean