API Reference
Command
Add-OfficeWordBookmark
Adds a bookmark to the current paragraph.
Remarks
Adds a bookmark to the current paragraph.
Examples
Add a bookmark in a paragraph.
PS>Add-OfficeWordParagraph { Add-OfficeWordText -Text 'Intro'; Add-OfficeWordBookmark -Name 'Intro' }
Creates a bookmark named Intro on the paragraph.
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.
Syntax
Add-OfficeWordBookmark -Name <String> [-Paragraph <WordParagraph>] [-PassThru] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Name String
- Bookmark name.
- Paragraph WordParagraph
- Explicit paragraph to receive the bookmark.
- PassThru SwitchParameter
- Emit the paragraph after adding the bookmark.
Outputs
System.Object