Screen size of a mesh

I imagine you could do this, but likely with the use of c++.