Command
New-ImageStoryPanel
Creates one resolved source, terminal, media, or text panel for a generic visual story.
Syntax
New-ImageStoryPanel -Id <String> -Source <StorySourceText> [-SourceOptions <VisualStorySourceOptions>] [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
SourceNew-ImageStoryPanel -Id <String> [-SourceOptions <VisualStorySourceOptions>] -SourceTimeline <StorySourceTimeline> [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
SourceTimelineNew-ImageStoryPanel -Id <String> [-Language <String>] [-SourceOptions <VisualStorySourceOptions>] -SourceText <String> [-Title <String>] [-Tokenizer <IStorySourceTokenizer>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
SourceTextNew-ImageStoryPanel [-AccessibleText <String>] -Id <String> -Replay <StoryReplay> [-ReplayTheme <TerminalTheme>] [-TerminalOptions <VisualStoryTerminalOptions>] [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
ReplayNew-ImageStoryPanel -AccessibleText <String> -Id <String> -Terminal <TerminalStory> [-TerminalOptions <VisualStoryTerminalOptions>] [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
TerminalNew-ImageStoryPanel -AccessibleText <String> -Id <String> -MediaPath <String> [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
MediaPathNew-ImageStoryPanel -AccessibleText <String> -Id <String> -MediaBytes <Byte[]> [-MediaSvg <String>] [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
MediaBytesNew-ImageStoryPanel -AccessibleText <String> -Id <String> -MediaImage <RgbaImage> [-MediaSvg <String>] [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
MediaImageNew-ImageStoryPanel [-Emphasized] -Id <String> -Text <String> [-Title <String>] [-Weight <Double>] [<CommonParameters>]#Parameter set:
TextExamples
Create an emphasized result panel
New-ImageStoryPanel -Id 'summary' -Title 'Result' -Text 'Deployment completed.' -EmphasizedParameters
- -Id String
- Stable panel identifier referenced by completed outcomes.
- -Source StorySourceText
- Exact source text with optional renderer-neutral syntax spans.
- -SourceOptions VisualStorySourceOptions
- Fixed source viewport settings, including filename and line numbers.
- -Title String
- Optional visible panel title.
- -Weight Double
- Relative size in split or stacked scenes.
- -SourceTimeline StorySourceTimeline
- Resolved source editing events on the scene clock.
- -Language String
- Language identifier used for SourceText.
- -SourceText String
- Exact source text to tokenize or preserve.
- -Tokenizer IStorySourceTokenizer
- Optional language tokenizer for SourceText.
- -AccessibleText String
- Accessible alternative for terminal or media content.
- -Replay StoryReplay
- Resolved recorded observations. Rendering never executes their commands.
- -ReplayTheme TerminalTheme
- Optional recorded-replay palette.
- -TerminalOptions VisualStoryTerminalOptions
- Fixed-font wrapping and history settings for terminal or replay panels.
- -Terminal TerminalStory
- Resolved deterministic terminal presentation.
- -MediaPath String
- Raster image file to reveal.
- -MediaBytes Byte[]
- Resolved raster image bytes to reveal.
- -MediaSvg String
- Optional resolved SVG representation paired with MediaBytes or MediaImage.
- -MediaImage RgbaImage
- Resolved RGBA image to reveal.
- -Emphasized SwitchParameter
- Give text content stronger visual emphasis.
- -Text String
- Explanatory prose or a short status.
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.
Outputs
ImagePlayground.PowerShell.Stories.ImageStoryPanelSpec: PowerShell-friendly resolved panel specification for New-ImageStoryScene.