Project

ImagePlayground

Automate image processing, codes, metadata, charts, topology, and visual stories from PowerShell.

Stars 101
Forks 7
Total downloads 711,982
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-10-26
Command

New-ImageCanvasText

Module
ImagePlayground
Inputs
None
Outputs
ChartForgeX.Composition.VisualCanvasTextLayer

Creates a positioned text layer for a visual canvas.

Syntax

New-ImageCanvasText
[-Alignment <Left|Center|Right>]
[-Color <ChartColor>]
[-Emphasized]
[-FontSize <Double>]
[-Text] <String>
[-Width] <Double>
[-X] <Double>
[-Y] <Double>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Examples

Create a social-preview heading

New-ImageCanvasText -X 72 -Y 70 -Width 900 -Text 'Release 3.3' -FontSize 56 -Color White -Emphasized

Parameters

-Alignment TextAlignment optional
Text alignment within the layer width.
Possible values: Left, Center, Right
-Color ChartColor optional
Text color.
-Emphasized SwitchParameter optional
Use the emphasized text treatment.
-FontSize Double optional
Font size in canvas design pixels.
-Text String requiredposition: 3
Text to render.
-Width Double requiredposition: 2
Text layout width.
-X Double requiredposition: 0
Horizontal position in canvas design pixels.
-Y Double requiredposition: 1
Vertical position in canvas design pixels.

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.