I actually created my own function that does it. Basically, it takes the size of the text box and the text and word wraps it (another confusing process), then it fits it into the text box. However if it's too long, it won't put all of it in the box. It also fills in the box with black. I think that the hardest part is word wrapping, which I can't even remember how I did that at this point.