API Reference
Cmdlet
Add-OfficePdfVisual
Adds a ChartForgeX artifact, portable SVG, or converted Office visual to PDF flow content.
Remarks
Adds a ChartForgeX artifact, portable SVG, or converted Office visual to PDF flow content.
Examples
EXAMPLE 1
Add-OfficePdfVisual -Align 'Value'
EXAMPLE 2
Add-OfficePdfVisual -Document 'Value'
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
Add-OfficePdfVisual [-Align <Left|Center|Right|Justify>] [-AlternativeText <String>] [-Height <Double>] [-Id <String>] -InputObject <Object> [-MaximumSvgElements <Int32>] [-MaximumSvgViewportDimension <Double>] [-MaximumSvgViewportPixels <Double>] [-PassThru] [-PointsPerPixel <Double>] [-SpacingAfter <Double>] [-SpacingBefore <Double>] [-SvgPolicy <PreserveVector|RasterizeWhenNeeded|RequireVector>] [-Title <String>] [-Width <Double>] [<CommonParameters>]#Parameter set:
ContextParameters
- Align PdfAlign
- Horizontal alignment in PDF flow.
- Possible values:
Left,Center,Right,Justify - AlternativeText String
- Optional accessible description for an SVG file input.
- 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.
- PassThru SwitchParameter
- Emit the updated PDF document.
- PointsPerPixel Double
- Conversion factor from ChartForgeX pixels to Office points.
- SpacingAfter Double
- Spacing after the visual in points.
- SpacingBefore Double
- Spacing before the visual in points.
- 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.
Outputs
OfficeIMO.Pdf.PdfDocument
Add-OfficePdfVisual [-Align <Left|Center|Right|Justify>] [-AlternativeText <String>] -Document <PdfDocument> [-Height <Double>] [-Id <String>] -InputObject <Object> [-MaximumSvgElements <Int32>] [-MaximumSvgViewportDimension <Double>] [-MaximumSvgViewportPixels <Double>] [-PassThru] [-PointsPerPixel <Double>] [-SpacingAfter <Double>] [-SpacingBefore <Double>] [-SvgPolicy <PreserveVector|RasterizeWhenNeeded|RequireVector>] [-Title <String>] [-Width <Double>] [<CommonParameters>]#Parameter set:
DocumentParameters
- Align PdfAlign
- Horizontal alignment in PDF flow.
- Possible values:
Left,Center,Right,Justify - AlternativeText String
- Optional accessible description for an SVG file input.
- Document PdfDocument
- PDF document to update outside the DSL context.
- 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.
- PassThru SwitchParameter
- Emit the updated PDF document.
- PointsPerPixel Double
- Conversion factor from ChartForgeX pixels to Office points.
- SpacingAfter Double
- Spacing after the visual in points.
- SpacingBefore Double
- Spacing before the visual in points.
- 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.
Outputs
OfficeIMO.Pdf.PdfDocument
Add-OfficePdfVisual [-Align <Left|Center|Right|Justify>] [-AlternativeText <String>] -Document <PdfDocument> [-Height <Double>] [-Id <String>] -InputObject <Object> [-MaximumSvgElements <Int32>] [-MaximumSvgViewportDimension <Double>] [-MaximumSvgViewportPixels <Double>] [-PassThru] [-PointsPerPixel <Double>] [-SpacingAfter <Double>] [-SpacingBefore <Double>] [-SvgPolicy <PreserveVector|RasterizeWhenNeeded|RequireVector>] [-Title <String>] [-Width <Double>] [<CommonParameters>]#Parameter set:
PipelineDocumentParameters
- Align PdfAlign
- Horizontal alignment in PDF flow.
- Possible values:
Left,Center,Right,Justify - AlternativeText String
- Optional accessible description for an SVG file input.
- Document PdfDocument
- PDF document to update outside the DSL context.
- 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.
- PassThru SwitchParameter
- Emit the updated PDF document.
- PointsPerPixel Double
- Conversion factor from ChartForgeX pixels to Office points.
- SpacingAfter Double
- Spacing after the visual in points.
- SpacingBefore Double
- Spacing before the visual in points.
- 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.
Outputs
OfficeIMO.Pdf.PdfDocument