SetFill Function
Updates the fill of a given object item from an Envision document currently opened in the Canvas Envision Creator app.
SetFill(obj: [[[EvItem|canvas-envision-document-items.html#object-items]]], fill: [[[EvFill|evfill-interface.html]]]): Promise<void>
Parameters
Return value
Promise<void>A Promise that, if fulfilled, resolves to
voidif the fill of the given object item has been successfully updated.
Discussion
Trying to update the fill of an object item that does not support a fill, such as an image item, throws an error.
27 March 2025