Cmdlet
Add-OfficeWordPictureControl
Adds a picture content control to the current paragraph.
Syntax
Add-OfficeWordPictureControl
[-Alias <String>]
[-Height <Double>]
[-Paragraph <WordParagraph>]
[-PassThru]
[-Path] <String>
[-Tag <String>]
[-Width <Double>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Add a picture control.
Add-OfficeWordParagraph { Add-OfficeWordPictureControl -Path .\logo.png -Width 96 -Height 32 }Embeds an image inside a picture content control.
Parameters
- -Alias String
- Optional alias for the control.
- -Height Double
- Height in points.
- -Paragraph WordParagraph
- Explicit paragraph to receive the control.
- -PassThru SwitchParameter
- Emit the created control.
- -Path String
- Path to the image file.
- -Tag String
- Optional tag for the control.
- -Width Double
- Width in points.
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.