Tab Character is not working properly

I have a section of a document I am creating programmatically in Visual Basic where I insert some tabs before some html. The code looks like this:

DocumentBuilder.Write("\t")
DocumentBuilder.InsertHtml("<b>Test Html</b>")

But in my document it is coming out with the tab character in text format instead of an actual tab:

\tTest Html

Any ideas on what I’m doing wrong?

@SethD02 In Visual Basic there is no \t escape character. Please use ControlChar.Tab insted.

DocumentBuilder.Write(ControlChar.Tab)
DocumentBuilder.InsertHtml("<b>Test Html</b>")