sdk.boardapi.updateartboardbackground
Home > @kittl/sdk > BoardAPI > updateArtboardBackground
BoardAPI.updateArtboardBackground() method
Warning: This API is now obsolete.
Use
updateArtboardmethod withbackgroundImageparameter instead.
Updates the background image properties of an existing artboard.
This method allows modification of the background image object name/source. The method preserves all existing artboard properties while only updating the specified background image attributes.
Signature:
updateArtboardBackground(params: UpdateArtboardBackgroundParams, opts?: DesignApiOptions): NormalizedBoard;
Parameters
Parameter | Type | Description |
|---|---|---|
params | Configuration parameters for updating the artboard background | |
opts | (Optional) Additional options for the design API operation |
Returns:
The updated Board object with modified background properties
Exceptions
When the specified artboard ID doesn't exist in the working state
When trying to update background of a floating board