If your document contains extra space around the contents of the canvas, you can trim the canvas. You can also modify the canvas by expanding it to fit objects that extend beyond its boundary.

This is a picture of the feature being described.

Original; trimmed canvas

To trim or fit the canvas to the document contents: