Set clipping plane for screenshot

Hi, when taking a screenshot is it possible to set a clipping plane so objects further than a certain distance are not rendered?