Project

PSWriteOffice

PowerShell document automation across OfficeIMO's document, spreadsheet, presentation, PDF, Project, Access, EPUB, invoicing, and conversion engines.

Stars 654
Forks 82
Open issues 1
Total downloads 4,320,051
Release OfficeIMO-v3.5.3
Language: C# Updated: 2026-11-03
Cmdlet

Add-OfficeWordTabStop

Aliases: WordTabStop
Module
PSWriteOffice
Aliases
WordTabStop
Inputs
OfficeIMO.Word.WordParagraph
Outputs
OfficeIMO.Word.WordTabStop

Adds a tab stop to a Word paragraph.

Syntax

Add-OfficeWordTabStop
[-Alignment <WordTabAlignment>]
[-Leader <Dot|Hyphen|Underscore|Heavy|MiddleDot>]
[-Paragraph <WordParagraph>]
[-PassThru]
[-Position] <Int32>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Thin wrapper over OfficeIMO.Word paragraph tab stops.

Examples

Add a decimal tab stop.

Add-OfficeWordParagraph { Add-OfficeWordTabStop -Position 4320 -Alignment Decimal -Leader Dot }

Adds a decimal tab stop at three inches.

Parameters

-Alignment WordTabAlignment optional
Tab alignment.
Possible values: Clear, Left, Start, Center, Right, End, Decimal, Bar, Number
-Leader WordTabLeader optional
Leader character.
Possible values: Dot, Hyphen, Underscore, Heavy, MiddleDot
-Paragraph WordParagraph optionalpipeline: True (ByValue)
Paragraph to update.
-PassThru SwitchParameter optional
Emit the created tab stop.
-Position Int32 requiredposition: 0
Tab position in twips.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.