Open this page in the API Guide

DataImage.invalidateSize Method

Notifies the control that its container element size may have changed.