Take a screenshot of the whole dashboard as a rendered image

Is there a way we can take a screenshot of the whole dashboard as a rendered image by using API? As far as I know, rendered image only works for individual panels but not the whole dashboard.

Thanks a lot.