Cmdlet
Add-OfficeExcelVisual
Adds a ChartForgeX artifact, portable SVG, or converted Office visual to an Excel worksheet.
Syntax
Add-OfficeExcelVisual
[-Address <String>]
[-AlternativeText <String>]
[-Column <Int32>]
[-Height <Double>]
[-Id <String>]
[-InputObject] <Object>
[-MaximumSvgElements <Int32>]
[-MaximumSvgViewportDimension <Double>]
[-MaximumSvgViewportPixels <Double>]
[-OffsetX <Int32>]
[-OffsetY <Int32>]
[-PassThru]
[-PointsPerPixel <Double>]
[-Row <Int32>]
[-SvgPolicy <PreserveVector| RasterizeWhenNeeded| RequireVector>]
[-Title <String>]
[-Width <Double>]
[-Worksheet <ExcelSheet>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
Add-OfficeExcelVisual -InputObject 'Value'Parameters
- -Address String
- A1-style target cell address.
- -AlternativeText String
- Optional accessible description for an SVG file input.
- -Column Int32
- One-based target column.
- -Height Double
- Optional output height in Office points.
- -Id String
- Optional stable identifier for an SVG file input.
- -InputObject Object
- ChartForgeX VisualArtifact, OfficeVisualSource, OfficeVisualConversionResult, or SVG file path.
- -MaximumSvgElements Int32
- Optional OfficeIMO SVG import element limit.
- -MaximumSvgViewportDimension Double
- Optional maximum SVG viewport width or height. Increase the safe default only for trusted input.
- -MaximumSvgViewportPixels Double
- Optional maximum SVG viewport area in pixels. Increase the safe default only for trusted input.
- -OffsetX Int32
- Horizontal offset in pixels from the cell origin.
- -OffsetY Int32
- Vertical offset in pixels from the cell origin.
- -PassThru SwitchParameter
- Emit the image added to the worksheet.
- -PointsPerPixel Double
- Conversion factor from ChartForgeX pixels to Office points.
- -Row Int32
- One-based target row.
- -SvgPolicy OfficeVisualSvgPolicy
- SVG fidelity policy used by OfficeIMO.ChartForgeX.
- Possible values:
PreserveVector,RasterizeWhenNeeded,RequireVector - -Title String
- Optional title for an SVG file input.
- -Width Double
- Optional output width in Office points.
- -Worksheet ExcelSheet
- Target worksheet. Inside the Excel DSL, the current worksheet is used by default.
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.