Some objects (e.g. PictureBox, Printer, Form) allow you to use the TextWidth method to determine the length of the text using that object's font. RichTextBox is not one of those objects, but if you had one of those objects in your project with the same font as the rich text you could use the method on that object to determine the length.