Yes, by using Calculate Text Rect object.