Cmdlet
Add-OfficePdfImage
Adds a raster image or reusable native visual to PDF content.
Syntax
Add-OfficePdfImage
[-Alignment <OfficeAlignment>]
[-AlternativeText <String>]
[-Height <OfficeLength>]
[-Link <String>]
[-LinkContents <String>]
[-Path] <String>
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
PathAdd-OfficePdfImage
[-Alignment <OfficeAlignment>]
[-AlternativeText <String>]
-Document <PdfDocument>
[-Height <OfficeLength>]
[-Link <String>]
[-LinkContents <String>]
[-PassThru]
[-Path] <String>
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
DocumentPathAdd-OfficePdfImage
[-Alignment <OfficeAlignment>]
[-AlternativeText <String>]
[-Height <OfficeLength>]
[-Id <String>]
-InputObject <Object>
[-Link <String>]
[-LinkContents <String>]
[-MaximumSvgElements <Int32>]
[-MaximumSvgViewportDimension <Double>]
[-MaximumSvgViewportPixelCount <Int64>]
[-PointsPerPixel <Double>]
[-SpacingAfter <OfficeLength>]
[-SpacingBefore <OfficeLength>]
[-SvgPolicy <PreserveVector| RasterizeWhenNeeded| RequireVector>]
[-Title <String>]
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
InputObjectAdd-OfficePdfImage
[-Alignment <OfficeAlignment>]
[-AlternativeText <String>]
-Document <PdfDocument>
[-Height <OfficeLength>]
[-Id <String>]
-InputObject <Object>
[-Link <String>]
[-LinkContents <String>]
[-MaximumSvgElements <Int32>]
[-MaximumSvgViewportDimension <Double>]
[-MaximumSvgViewportPixelCount <Int64>]
[-PassThru]
[-PointsPerPixel <Double>]
[-SpacingAfter <OfficeLength>]
[-SpacingBefore <OfficeLength>]
[-SvgPolicy <PreserveVector| RasterizeWhenNeeded| RequireVector>]
[-Title <String>]
[-Width <OfficeLength>]
[<CommonParameters>]#Parameter set:
DocumentInputObjectExamples
Example 1
Add-OfficePdfImage -Path 'C:\Path'Example 2
Add-OfficePdfImage -InputObject 'Value' -Document 'Value'Example 3
Add-OfficePdfImage -Path 'C:\Path' -Document 'Value'Parameters
- -Alignment OfficeAlignment
- Alignment for this content.
- Possible values:
Left,Center,Right,Justify,Start,End - -AlternativeText String
- AlternativeText for this content.
- -Height OfficeLength
- Optional output height; numbers mean points and unit suffixes are accepted.
- -Link String
- Link for this content.
- -LinkContents String
- LinkContents for this content.
- -Path String
- Path for this content.
- -Width OfficeLength
- Optional output width; numbers mean points and unit suffixes are accepted.
- -Document PdfDocument
- Document for this content.
- -PassThru SwitchParameter
- PassThru for this content.
- -Id String
- Id for a reusable visual input.
- -InputObject Object
- InputObject for this content.
- -MaximumSvgElements Int32
- MaximumSvgElements for a reusable visual input.
- -MaximumSvgViewportDimension Double
- MaximumSvgViewportDimension for a reusable visual input.
- -MaximumSvgViewportPixelCount Int64
- MaximumSvgViewportPixelCount for a reusable visual input.
- -PointsPerPixel Double
- PointsPerPixel for a reusable visual input.
- -SpacingAfter OfficeLength
- SpacingAfter for this content.
- -SpacingBefore OfficeLength
- SpacingBefore for this content.
- -SvgPolicy OfficeVisualSvgPolicy
- SvgPolicy for a reusable visual input.
- Possible values:
PreserveVector,RasterizeWhenNeeded,RequireVector - -Title String
- Title for a reusable visual input.
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.