Cmdlet
Add-OfficeWordImage
Inserts an image into the current paragraph.
Syntax
Add-OfficeWordImage
[-Description <String>]
[-Height <Double>]
[-PassThru]
[-Path] <String>
[-Width <Double>]
[-Wrap <WordImageTextWrapping>]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Supports width/height overrides and wrapping options using the alias-friendly DSL.
Examples
Add a logo.
Add-OfficeWordParagraph { Add-OfficeWordImage -Path .\logo.png -Width 96 -Height 32 }Embeds logo.png at the specified size.
Parameters
- -Description String
- Optional description/alt text.
- -Height Double
- Height in points.
- -PassThru SwitchParameter
- Emit the created WordImage.
- -Path String
- Path to the image file.
- -Width Double
- Width in points.
- -Wrap WordImageTextWrapping
- Wrap mode for the image.
- Possible values:
InLineWithText,Square,Tight,Through,TopAndBottom,BehindText,InFrontOfText
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.