Cmdlet
New-OfficePowerPointImageOptions
Creates discoverable slide selection and rendering settings for Export-OfficeDocumentImage.
Syntax
New-OfficePowerPointImageOptions
[-ChartFidelity <Strict| BestEffort>]
[-IncludeHiddenShapes]
[-IncludeHiddenSlides]
[-MaximumDegreeOfParallelism <Int32>]
[-MaximumOutputCount <Int32>]
[-MaximumOutputHeight <Int32>]
[-MaximumOutputWidth <Int32>]
[-MaximumRasterPixelCount <Int64>]
[-MaximumTotalEncodedBytes <Int64>]
[-MaximumTotalRasterPixelCount <Int64>]
[-NoAutoShapes]
[-NoCharts]
[-NoPictures]
[-NoSlideBackground]
[-NoSlideContent]
[-NoTables]
[-NoTextBoxes]
[-RasterOverflowBehavior <ReduceScale| Throw>]
[-RenderTimeoutSeconds <Double>]
[-TextShapingLanguage <String>]
[<CommonParameters>]#Parameter set:
DefaultDescription
Pass the result to Export-OfficeDocumentImage or ConvertTo-OfficeDocumentImage -Options when rendering slides.
Examples
Render selected slides without pictures.
$options = New-OfficePowerPointImageOptions -NoPictures
Export-OfficeDocumentImage -Path ./Deck.pptx -Page 1,3 -OutputDirectory ./Slides -Options $optionsParameters
- -ChartFidelity OfficeChartFidelity
- Chart handling: Strict (default) skips charts with formatting that cannot be drawn exactly; BestEffort draws the closest approximation and reports chart-approximation warnings.
- Possible values:
Strict,BestEffort - Render hidden shapes.
- Include hidden slides.
- -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.
- -MaximumRasterPixelCount Int64
- Maximum pixels allocated for one raster image.
- -MaximumTotalEncodedBytes Int64
- Maximum aggregate encoded bytes accepted from one batch.
- -MaximumTotalRasterPixelCount Int64
- Maximum aggregate raster pixels accepted from one batch.
- -NoAutoShapes SwitchParameter
- Omit auto shapes.
- -NoCharts SwitchParameter
- Omit charts.
- -NoPictures SwitchParameter
- Omit pictures.
- -NoSlideBackground SwitchParameter
- Omit slide backgrounds.
- -NoSlideContent SwitchParameter
- Omit slide content.
- -NoTables SwitchParameter
- Omit tables.
- -NoTextBoxes SwitchParameter
- Omit text boxes.
- -RasterOverflowBehavior OfficeRasterOverflowBehavior
- Reduce or reject oversized raster output.
- Possible values:
ReduceScale,Throw - -RenderTimeoutSeconds Double
- Maximum seconds allowed for one render.
- -TextShapingLanguage String
- BCP 47 language hint for text shaping.
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.