API Reference
Command
Add-OfficeWordCheckBox
Adds a checkbox content control to the current paragraph.
Remarks
Adds a checkbox content control to the current paragraph.
Examples
Add a checked checkbox.
PS>Add-OfficeWordParagraph { Add-OfficeWordCheckBox -Checked -Alias 'Approved' }
Creates a checked checkbox content control.
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-OfficeWordCheckBox [-Alias <String>] [-Checked] [-Paragraph <WordParagraph>] [-PassThru] [-Tag <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Alias String
- Optional alias for the control.
- Checked SwitchParameter
- Set the checkbox as checked.
- Paragraph WordParagraph
- Explicit paragraph to receive the control.
- PassThru SwitchParameter
- Emit the created control.
- Tag String
- Optional tag for the control.
Outputs
OfficeIMO.Word.WordCheckBox