Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
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

Authored help example

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.