Setting up the initial size for an Office.js content Add-in is simple using its manifest's DefaultSettings.
<DefaultSettings>
<RequestedWidth>700</RequestedWidth>
<RequestedHeight>476</RequestedHeight>
</DefaultSettings>
I know that these add-ins can be resized manually by the user later on, but can you set the width and height of a content add-in programmatically after it is initialized?