TabChar

ControlChar.TabChar field

Tab character: (char)9 or “\t”.

public const char TabChar;

Examples

Shows how to set a custom interval for tab stop positions.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

// Set tab stops to appear every 72 points (1 inch).
builder.Document.DefaultTabStop = 72;

// Each tab character snaps the text after it to the next closest tab stop position.
builder.Writeln("Hello" + ControlChar.Tab + "World!");
builder.Writeln("Hello" + ControlChar.TabChar + "World!");

See Also