Check this Display information?
He gets a screenshot and after counts the width and height of the screenshot image.