Cmdlet
New-OfficeVisioImageOptions
Creates discoverable page and rendering settings for Export-OfficeVisioImage.
Syntax
New-OfficeVisioImageOptions
[-Font <String>]
[-FontCollectionIndex <Int32>]
[-FontPath <String>]
[-IncludeSvgXmlDeclaration]
[-MaximumDegreeOfParallelism <Int32>]
[-MaximumOutputCount <Int32>]
[-MaximumOutputHeight <Int32>]
[-MaximumOutputWidth <Int32>]
[-MaximumRasterPixelCount <Int64>]
[-MaximumTotalEncodedBytes <Int64>]
[-MaximumTotalRasterPixelCount <Int64>]
[-NoConnectorLabelOverlapResolution]
[-NoConnectorLabels]
[-NoStencilArtwork]
[-NoText]
[-RasterOverflowBehavior <ReduceScale| Throw>]
[-RenderTimeoutSeconds <Double>]
[-Supersampling <Int32>]
[-TextShapingLanguage <String>]
[<CommonParameters>]#Parameter set:
OptionsExamples
Render a Visio page with a selected font.
$options = New-OfficeVisioImageOptions -Font Arial -NoConnectorLabels
Export-OfficeDocumentImage -Path ./Diagram.vsdx -Page 1 -Format Svg -OutputDirectory ./Preview -Options $optionsParameters
- -Font String
- Font face name used for text rendering.
- -FontCollectionIndex Int32
- Face index within a font collection.
- -FontPath String
- Literal font file used for text rendering.
- -IncludeSvgXmlDeclaration SwitchParameter
- Include an XML declaration in SVG output.
- -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.
- -NoConnectorLabelOverlapResolution SwitchParameter
- Resolve connector-label overlaps.
- -NoConnectorLabels SwitchParameter
- Render connector labels.
- -NoStencilArtwork SwitchParameter
- Render supported stencil artwork.
- -NoText SwitchParameter
- Render page text.
- -RasterOverflowBehavior OfficeRasterOverflowBehavior
- Reduce or reject oversized raster output.
- Possible values:
ReduceScale,Throw - -RenderTimeoutSeconds Double
- Maximum seconds allowed for one render.
- -Supersampling Int32
- Raster supersampling factor.
- -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.