Tab

ControlChar.Tab field

Tab character: “\x0009” or “\t”.

public static readonly string Tab;

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