GetTextSize ( fnt_slot, txt$, ByRef w, ByRef h )

Gets the size of text rendered with the given font

Example: