API Reference
Cmdlet
New-OfficePowerPointImageOptions
Creates discoverable slide selection and rendering settings for Export-OfficePowerPointImage.
Remarks
Creates discoverable slide selection and rendering settings for Export-OfficePowerPointImage.
Examples
Render selected slides with their backgrounds and content.
PS>
$options = New-OfficePowerPointImageOptions -SlideNumber 1,3 -IncludeSlideBackground -IncludeSlideContent
Export-OfficePowerPointImage -Path .\Deck.pptx -OutputPath .\Slides -Options $options
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
New-OfficePowerPointImageOptions [-BackgroundColor <String>] [-IncludeAutoShapes] [-IncludeCharts] [-IncludeHiddenShapes] [-IncludeHiddenSlides] [-IncludePictures] [-IncludeSlideBackground] [-IncludeSlideContent] [-IncludeTables] [-IncludeTextBoxes] [-MaximumDegreeOfParallelism <Int32>] [-MaximumOutputCount <Int32>] [-MaximumOutputHeight <Int32>] [-MaximumOutputWidth <Int32>] [-MaximumRasterPixels <Int64>] [-MaximumTotalEncodedBytes <Int64>] [-MaximumTotalRasterPixels <Int64>] [-RasterOverflowBehavior <ReduceScale|Throw>] [-RenderTimeoutSeconds <Double>] [-Scale <Double>] [-SlideNumber <Int32[]>] [-TargetDpi <Double>] [-TextShapingLanguage <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- BackgroundColor String
- Background color name or hex value.
- IncludeAutoShapes SwitchParameter
- Render auto shapes.
- IncludeCharts SwitchParameter
- Render charts.
- IncludeHiddenShapes SwitchParameter
- Render hidden shapes.
- IncludeHiddenSlides SwitchParameter
- Include hidden slides.
- IncludePictures SwitchParameter
- Render pictures.
- IncludeSlideBackground SwitchParameter
- Render slide backgrounds.
- IncludeSlideContent SwitchParameter
- Render slide content.
- IncludeTables SwitchParameter
- Render tables.
- IncludeTextBoxes SwitchParameter
- Render text boxes.
- MaximumDegreeOfParallelism Int32
- Maximum independent renders processed concurrently.
- MaximumOutputCount Int32
- Maximum images accepted from one batch export.
- MaximumOutputHeight Int32
- Maximum output height in pixels.
- MaximumOutputWidth Int32
- Maximum output width in pixels.
- MaximumRasterPixels Int64
- Maximum pixels allocated for one raster image.
- MaximumTotalEncodedBytes Int64
- Maximum aggregate encoded bytes accepted from one batch.
- MaximumTotalRasterPixels Int64
- Maximum aggregate raster pixels accepted from one batch.
- RasterOverflowBehavior OfficeRasterOverflowBehavior
- Reduce or reject oversized raster output.
- Possible values:
ReduceScale,Throw - RenderTimeoutSeconds Double
- Maximum seconds allowed for one render.
- Scale Double
- Output scale multiplier.
- SlideNumber Int32[]
- One-based slide numbers to export.
- TargetDpi Double
- Target output density in dots per inch.
- TextShapingLanguage String
- BCP 47 language hint for text shaping.
Outputs
OfficeIMO.PowerPoint.PowerPointPresentationImageExportOptions