Cmdlet
Add-OfficeWordPictureControl
Adds a picture content control to the current paragraph.
Syntax
Add-OfficeWordPictureControl
[-Alias <String>]
[-Height <OfficeLength>]
[-Paragraph <WordParagraph>]
[-PassThru]
[-Path] <String>
[-Tag <String>]
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Add a picture control.
Add-OfficeWordParagraph { Add-OfficeWordPictureControl -Path .\logo.png -Width 96px -Height 32px }Embeds an image inside a picture content control.
Parameters
- -Alias String
- Optional alias for the control.
- -Height OfficeLength
- Height; numbers mean 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 OfficeLength
- Width; numbers mean 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.