Taking a screenshot through a camera?

Hi, thanks for a comment however I mean I want to take an image through a camera that ive set up inside the scene, not just the viewport.