TAB_CHAR property

ControlChar.TAB_CHAR property

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

@property
def TAB_CHAR(self) -> str:
    ...

Examples

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

doc = aw.Document()
builder = aw.DocumentBuilder(doc)

# Set tab stops to appear every 72 points (1 inch).
builder.document.default_tab_stop = 72

# Each tab character snaps the text after it to the next closest tab stop position.
builder.writeln("Hello" + aw.ControlChar.TAB + "World!")

See Also