text size

Is there a way to find out in terms of pixels, points, or fraction of figure, how large a text string is? In other words if I generate "Some label" as the x-axis label, can I find out how tall and wide it is?

Mike