'How do I set the border-weight of an Inline Image in app script?

How do I set the border-weight of an InlineImage in app script? The reference pages only show how to change the border width for a cell in table,



Solution 1:[1]

TLDR

You can't for now. There's a feature request for it here and relevant question

Full Explanation

Refer to documentation for InlineImage. By right, you can use the setAttributes(object) function to set various style attributes. However, looking at the available application attributes for images, BORDER_WIDTH applies to tables and not images.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Lee Taylor