API Reference
Command
Add-OfficeWordImage
Inserts an image into the current paragraph.
Remarks
Inserts an image into the current paragraph.
Examples
Add a logo.
PS>Add-OfficeWordParagraph { Add-OfficeWordImage -Path .\logo.png -Width 96 -Height 32 }
Embeds logo.png at the specified size.
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-OfficeWordImage [-Description <String>] [-Height <Nullable`1>] [-PassThru] -Path <String> [-Width <Nullable`1>] [-Wrap <InLineWithText>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Description String
- Optional description/alt text.
- Height Nullable`1
- Height in points.
- PassThru SwitchParameter
- Emit the created WordImage.
- Path String
- Path to the image file.
- Width Nullable`1
- Width in points.
- Wrap WrapTextImage
- Wrap mode for the image.
- Possible values:
InLineWithText,Square,Tight,Through,TopAndBottom,BehindText,InFrontOfText
Outputs
System.Object