Skip to main content

SetPicture

Sets the content (image) for the picture content control. This method updates the picture inside a content control by setting an image from a provided URL. The URL should be an internet link to the image.

Syntax

expression.SetPicture(imageUrl);

expression - A variable that represents a ApiBlockLvlSdt class.

Parameters

NameRequired/OptionalData typeDefaultDescription
imageUrlRequiredstringThe URL of the image to be used for the content control. Currently, only internet URLs are supported.

Returns

boolean