Project

ImagePlayground

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

Stars 100
Forks 7
Total downloads 712,347
Release ImagePlayground-PowerShellModule.v3.2.7
Language: C# Updated: 2026-08-25

API Reference

Command

New-ImageVisualGrid

Namespace ImagePlayground
Inputs
System.Object[]
Outputs
ChartForgeX.VisualBlocks.VisualGrid

Creates a reusable dashboard grid from charts and visual blocks.

Remarks

Render the grid directly, pass it to New-ImageVisualStory, or compose it inside a ChartForgeX visual canvas.

Examples

Authored help example

Create a status dashboard

PS>


New-ImageVisualGrid -Title 'Service health' -Columns 2 -ContentDefinition { New-ImageMetricCard -Label 'Requests' -Value 12840 -Status Positive; New-ImageListBlock -Title 'Checks' -Item API,Database -Status Positive,Warning } -FilePath dashboard.svg
        

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

New-ImageVisualGrid [-AdaptiveRowHeights] [-Columns <Int32>] -ContentDefinition <ScriptBlock> [-FilePath <String>] [-Frame] [-Gap <Int32>] [-Motion <VisualMotionTimeline>] [-Padding <Int32>] [-PanelFit <Contain|Stretch>] [-PanelHeight <Int32>] [-PanelWidth <Int32>] [-PassThru] [-Show] [-Subtitle <String>] [-Theme <Default>] [-Title <String>] [<CommonParameters>]
#
Parameter set: Definition

Parameters

AdaptiveRowHeights SwitchParameter optionalposition: namedpipeline: False
Use each row's natural item height.
Columns Int32 optionalposition: namedpipeline: False
Preferred column count.
ContentDefinition ScriptBlock requiredposition: 0pipeline: False
Script block that emits charts, visual blocks, or New-ImageVisualGridItem results.
FilePath String optionalposition: namedpipeline: False
Optional output path. Omit it to return the grid without rendering.
Frame SwitchParameter optionalposition: namedpipeline: False
Render a subtle outer frame.
Gap Int32 optionalposition: namedpipeline: False
Gap between panels in pixels.
Motion VisualMotionTimeline optionalposition: namedpipeline: False
Optional script-free SVG and HTML motion timeline.
Padding Int32 optionalposition: namedpipeline: False
Outer grid padding in pixels.
PanelFit VisualPanelFit optionalposition: namedpipeline: Falsevalues: 2
How child content fits fixed panels.
Possible values: Contain, Stretch
PanelHeight Int32 optionalposition: namedpipeline: False
Optional fixed panel height.
PanelWidth Int32 optionalposition: namedpipeline: False
Optional fixed panel width.
PassThru SwitchParameter optionalposition: namedpipeline: False
Return the grid when an output file is also written.
Show SwitchParameter optionalposition: namedpipeline: False
Open the rendered dashboard.
Subtitle String optionalposition: namedpipeline: False
Optional dashboard subtitle.
Theme ChartTheme optionalposition: namedpipeline: Falsevalues: 14
ChartForgeX theme.
Possible values: Default, Dark, Light, Colorblind, Aurora, Editorial, Candy, PeopleInfographic, Terminal, TransparentOverlayDark, Minimal, DashboardLight, SaasDashboardLight, RestaurantDashboardLight
Title String optionalposition: namedpipeline: False
Optional dashboard title.

Outputs

ChartForgeX.VisualBlocks.VisualGrid

New-ImageVisualGrid [-AdaptiveRowHeights] [-Columns <Int32>] -Content <Object[]> [-FilePath <String>] [-Frame] [-Gap <Int32>] [-Motion <VisualMotionTimeline>] [-Padding <Int32>] [-PanelFit <Contain|Stretch>] [-PanelHeight <Int32>] [-PanelWidth <Int32>] [-PassThru] [-Show] [-Subtitle <String>] [-Theme <Default>] [-Title <String>] [<CommonParameters>]
#
Parameter set: Content

Parameters

AdaptiveRowHeights SwitchParameter optionalposition: namedpipeline: False
Use each row's natural item height.
Columns Int32 optionalposition: namedpipeline: False
Preferred column count.
Content Object[] requiredposition: namedpipeline: True (ByValue)
Charts, visual blocks, or grid items supplied directly or through the pipeline.
FilePath String optionalposition: namedpipeline: False
Optional output path. Omit it to return the grid without rendering.
Frame SwitchParameter optionalposition: namedpipeline: False
Render a subtle outer frame.
Gap Int32 optionalposition: namedpipeline: False
Gap between panels in pixels.
Motion VisualMotionTimeline optionalposition: namedpipeline: False
Optional script-free SVG and HTML motion timeline.
Padding Int32 optionalposition: namedpipeline: False
Outer grid padding in pixels.
PanelFit VisualPanelFit optionalposition: namedpipeline: Falsevalues: 2
How child content fits fixed panels.
Possible values: Contain, Stretch
PanelHeight Int32 optionalposition: namedpipeline: False
Optional fixed panel height.
PanelWidth Int32 optionalposition: namedpipeline: False
Optional fixed panel width.
PassThru SwitchParameter optionalposition: namedpipeline: False
Return the grid when an output file is also written.
Show SwitchParameter optionalposition: namedpipeline: False
Open the rendered dashboard.
Subtitle String optionalposition: namedpipeline: False
Optional dashboard subtitle.
Theme ChartTheme optionalposition: namedpipeline: Falsevalues: 14
ChartForgeX theme.
Possible values: Default, Dark, Light, Colorblind, Aurora, Editorial, Candy, PeopleInfographic, Terminal, TransparentOverlayDark, Minimal, DashboardLight, SaasDashboardLight, RestaurantDashboardLight
Title String optionalposition: namedpipeline: False
Optional dashboard title.

Outputs

ChartForgeX.VisualBlocks.VisualGrid