Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Cmdlet

Get-OfficeWordImage

Module
PSWriteOffice
Inputs
OfficeIMO.Word.WordDocument OfficeIMO.Word.WordParagraph OfficeIMO.Word.WordSection System.String[]
Outputs
OfficeIMO.Word.WordImage

Gets images from a document, section or paragraph.

Syntax

Get-OfficeWordImage
[-Document <WordDocument>]
[<CommonParameters>]
#
Parameter set: Document
Get-OfficeWordImage
[-Path] <String[]>
[<CommonParameters>]
#
Parameter set: Path
Get-OfficeWordImage
-LiteralPath <String[]>
[<CommonParameters>]
#
Parameter set: LiteralPath
Get-OfficeWordImage
-Section <WordSection>
[<CommonParameters>]
#
Parameter set: Section
Get-OfficeWordImage
-Paragraph <WordParagraph>
[<CommonParameters>]
#
Parameter set: Paragraph

Examples

Example 1

Get-OfficeWordImage -Document 'Value'

Example 2

Get-OfficeWordImage -LiteralPath @('C:\Path')

Example 3

Get-OfficeWordImage -Paragraph 'Value'

Parameters

-Document WordDocument optionalpipeline: True (ByValue)sets: Document
Document for this inspection.
-Path String[] requiredposition: 0pipeline: True (ByValue)sets: Path
Path for this inspection.
-LiteralPath String[] requiredpipeline: True (ByPropertyName)aliases: FullName, PSPathsets: LiteralPath
LiteralPath for this inspection.
-Section WordSection requiredpipeline: True (ByValue)sets: Section
Section for this inspection.
-Paragraph WordParagraph requiredpipeline: True (ByValue)sets: Paragraph
Paragraph for this inspection.

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.