Cmdlet
New-OfficeWordImageOptions
Creates discoverable page and rendering settings for Export-OfficeWordImage.
Syntax
New-OfficeWordImageOptions
[-ChartFidelity <Strict| BestEffort>]
[-MaximumDegreeOfParallelism <Int32>]
[-MaximumOutputCount <Int32>]
[-MaximumOutputHeight <Int32>]
[-MaximumOutputWidth <Int32>]
[-MaximumRasterPixelCount <Int64>]
[-MaximumTotalEncodedBytes <Int64>]
[-MaximumTotalRasterPixelCount <Int64>]
[-RasterOverflowBehavior <ReduceScale| Throw>]
[-RenderTimeoutSeconds <Double>]
[-TextShapingLanguage <String>]
[<CommonParameters>]#Parameter set:
DefaultExamples
Render two pages with bounded raster output.
$options = New-OfficeWordImageOptions -MaximumRasterPixelCount 10000000
Export-OfficeDocumentImage -Path ./Report.docx -Page 1-2 -Dpi 144 -OutputDirectory ./Pages -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 - -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.
- -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.