API Reference
Command
Add-OfficeWordPictureControl
Adds a picture content control to the current paragraph.
Remarks
Adds a picture content control to the current paragraph.
Examples
Add a picture control.
PS>Add-OfficeWordParagraph { Add-OfficeWordPictureControl -Path .\logo.png -Width 96 -Height 32 }
Embeds an image inside a picture content control.
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-OfficeWordPictureControl [-Alias <String>] [-Height <Nullable`1>] [-Paragraph <WordParagraph>] [-PassThru] -Path <String> [-Tag <String>] [-Width <Nullable`1>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Alias String
- Optional alias for the control.
- Height Nullable`1
- 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 Nullable`1
- Width in points.
Outputs
OfficeIMO.Word.WordPictureControl