Skip to content

Latest commit

 

History

History
125 lines (96 loc) · 2.45 KB

File metadata and controls

125 lines (96 loc) · 2.45 KB
external help file PSWriteOffice-help.xml
Module Name PSWriteOffice
online version https://github.com/EvotecIT/PSWriteOffice
schema 2.0.0

Add-OfficeWordDropDownList

SYNOPSIS

Adds a dropdown list content control to the current paragraph.

SYNTAX

__AllParameterSets

Add-OfficeWordDropDownList [-Items] <string[]> [-Alias <string>] [-Tag <string>] [-Paragraph <WordParagraph>] [-PassThru] [<CommonParameters>]

DESCRIPTION

Adds a dropdown list content control to the current paragraph.

EXAMPLES

EXAMPLE 1

PS>Add-OfficeWordParagraph { Add-OfficeWordDropDownList -Items 'Low','Medium','High' -Alias 'Priority' }

Creates a dropdown list control with the supplied items.

PARAMETERS

-Alias

Optional alias for the control.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Items

Items to include in the dropdown list.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Paragraph

Explicit paragraph to receive the control.

Type: WordParagraph
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: True

-PassThru

Emit the created control.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Tag

Optional tag for the control.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: 

Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • OfficeIMO.Word.WordParagraph

OUTPUTS

  • OfficeIMO.Word.WordDropDownList

RELATED LINKS

  • None