Newer Version Available
Explicitly Resizing a Canvas App
The following code example shows how to call the resize method to resize a canvas app. If you don’t specify the height and width parameters, the parent window attempts to determine the height of the canvas app based on its content and then set the iFrame width and height accordingly.