arcade-block-objects/setImage.md

471 B

set image property

blockObject.setImageProperty(blockObject.create(), blockObject._imageProperty(ImageProp.myImage), null)

Sets a property of type Image on the given BlockObject using the given ImageProp.

Parameters

  • object: the BlockObject to set the property on
  • property: the ImageProp to set
  • value: the value to store for this ImageProp in the BlockObject
arcade-block-objects=github:microsoft/arcade-block-objects