The Depth Of Field (DOF) is controlled by the Aperture setting. The smaller the aperture number the less DOF you will have. The larger the aperture number the greater the DOF. This example shows a very high aperture number, (small amount of light coming into the camera) which results in a greater DOF.