RecordingExportOptions
ConsoleMonster.Export
How a recording is exported: screen size, frame rate, speed, theme, font and window frame.
Inheritance
- object
- RecordingExportOptions
Usage
Explore 130 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 58
- Extension method RecordingExportOptions.ChapterHold
- Extension method RecordingExportOptions.ChromeStyle
- Extension method RecordingExportOptions.Culture
- Extension method RecordingExportOptions.CustomTheme
- Extension method RecordingExportOptions.FontFamily
- Extension method RecordingExportOptions.FontSize
- Extension method RecordingExportOptions.FramesPerSecond
- Extension method RecordingExportOptions.Glyphs
- Extension method RecordingExportOptions.Height
- Extension method RecordingExportOptions.HoldLastFrame
- Extension method RecordingExportOptions.IdleLimit
- Extension method RecordingExportOptions.LineHeight
- Extension method RecordingExportOptions.Loop
- Extension method RecordingExportOptions.Marker
- Extension method RecordingExportOptions.Markers
- Extension method RecordingExportOptions.MaxFrames
- Extension method RecordingExportOptions.Pace
- Extension method RecordingExportOptions.Padding
- Extension method RecordingExportOptions.Speed
- Extension method RecordingExportOptions.Theme
- Extension method RecordingExportOptions.Timestamp
- Extension method RecordingExportOptions.Title
- Extension method RecordingExportOptions.TrimEnd
- Extension method RecordingExportOptions.TrimEndChapter
- Extension method RecordingExportOptions.TrimStart
- Extension method RecordingExportOptions.TrimStartChapter
- Extension method RecordingExportOptions.Width
- Extension method RecordingExportOptions.WindowChrome
- Method RecordingExportOptions.Clone
- Method RecordingExportOptionsFluent.ChapterHold
- Method RecordingExportOptionsFluent.ChromeStyle
- Method RecordingExportOptionsFluent.Culture
- Method RecordingExportOptionsFluent.CustomTheme
- Method RecordingExportOptionsFluent.FontFamily
- Method RecordingExportOptionsFluent.FontSize
- Method RecordingExportOptionsFluent.FramesPerSecond
- Method RecordingExportOptionsFluent.Glyphs
- Method RecordingExportOptionsFluent.Height
- Method RecordingExportOptionsFluent.HoldLastFrame
- Method RecordingExportOptionsFluent.IdleLimit
- Method RecordingExportOptionsFluent.LineHeight
- Method RecordingExportOptionsFluent.Loop
- Method RecordingExportOptionsFluent.Marker
- Method RecordingExportOptionsFluent.Markers
- Method RecordingExportOptionsFluent.MaxFrames
- Method RecordingExportOptionsFluent.Pace
- Method RecordingExportOptionsFluent.Padding
- Method RecordingExportOptionsFluent.Speed
- Method RecordingExportOptionsFluent.Theme
- Method RecordingExportOptionsFluent.Timestamp
- Method RecordingExportOptionsFluent.Title
- Method RecordingExportOptionsFluent.TrimEnd
- Method RecordingExportOptionsFluent.TrimEndChapter
- Method RecordingExportOptionsFluent.TrimStart
- Method RecordingExportOptionsFluent.TrimStartChapter
- Method RecordingExportOptionsFluent.Width
- Method RecordingExportOptionsFluent.WindowChrome
- Property GraphicsExportOptions.Playback
Accepted by parameters 72
- Method Recording.CaptureFrames
- Method Recording.Render
- Method Recording.Save
- Method Recording.ToAsciicast
- Method Recording.ToHtml
- Method Recording.ToPlayerData
- Method Recording.ToSvg
- Extension method RecordingExportOptions.ChapterHold
- Extension method RecordingExportOptions.ChromeStyle
- Extension method RecordingExportOptions.Culture
- Extension method RecordingExportOptions.CustomTheme
- Extension method RecordingExportOptions.FontFamily
- Extension method RecordingExportOptions.FontSize
- Extension method RecordingExportOptions.FramesPerSecond
- Extension method RecordingExportOptions.Glyphs
- Extension method RecordingExportOptions.Height
- Extension method RecordingExportOptions.HoldLastFrame
- Extension method RecordingExportOptions.IdleLimit
- Extension method RecordingExportOptions.LineHeight
- Extension method RecordingExportOptions.Loop
- Extension method RecordingExportOptions.Marker
- Extension method RecordingExportOptions.Markers
- Extension method RecordingExportOptions.MaxFrames
- Extension method RecordingExportOptions.Pace
- Extension method RecordingExportOptions.Padding
- Extension method RecordingExportOptions.Speed
- Extension method RecordingExportOptions.Theme
- Extension method RecordingExportOptions.Timestamp
- Extension method RecordingExportOptions.Title
- Extension method RecordingExportOptions.TrimEnd
- Extension method RecordingExportOptions.TrimEndChapter
- Extension method RecordingExportOptions.TrimStart
- Extension method RecordingExportOptions.TrimStartChapter
- Extension method RecordingExportOptions.Width
- Extension method RecordingExportOptions.WindowChrome
- Method RecordingExportOptionsFluent.ChapterHold
- Method RecordingExportOptionsFluent.ChromeStyle
- Method RecordingExportOptionsFluent.Culture
- Method RecordingExportOptionsFluent.CustomTheme
- Method RecordingExportOptionsFluent.FontFamily
- Method RecordingExportOptionsFluent.FontSize
- Method RecordingExportOptionsFluent.FramesPerSecond
- Method RecordingExportOptionsFluent.Glyphs
- Method RecordingExportOptionsFluent.Height
- Method RecordingExportOptionsFluent.HoldLastFrame
- Method RecordingExportOptionsFluent.IdleLimit
- Method RecordingExportOptionsFluent.LineHeight
- Method RecordingExportOptionsFluent.Loop
- Method RecordingExportOptionsFluent.Marker
- Method RecordingExportOptionsFluent.Markers
- Method RecordingExportOptionsFluent.MaxFrames
- Method RecordingExportOptionsFluent.Pace
- Method RecordingExportOptionsFluent.Padding
- Method RecordingExportOptionsFluent.Speed
- Method RecordingExportOptionsFluent.Theme
- Method RecordingExportOptionsFluent.Timestamp
- Method RecordingExportOptionsFluent.Title
- Method RecordingExportOptionsFluent.TrimEnd
- Method RecordingExportOptionsFluent.TrimEndChapter
- Method RecordingExportOptionsFluent.TrimStart
- Method RecordingExportOptionsFluent.TrimStartChapter
- Method RecordingExportOptionsFluent.Width
- Method RecordingExportOptionsFluent.WindowChrome
- Extension method GraphicsExportOptions.Playback
- Method GraphicsExportOptionsFluent.Playback
- Method MarkdownExporter.ReplayToMarkdown
- Method SessionRecording.CaptureFrames
- Method SessionRecording.Render
- Method SessionRecording.Save
- Method SessionRecording.ToHtml
- Method SessionRecording.ToPlayerData
- Method SessionRecording.ToSvg
Constructors
public RecordingExportOptions() #Methods
public RecordingExportOptions Clone() #Copies export settings and source markers without sharing mutable collections.
Returns
RecordingExportOptionspublic ExportOptions ToFrameOptions() #Resolves and validates the frame geometry shared by recording serializers and graphics providers.
Inherited Methods
Properties
public IList<RecordingMarker> Markers { get; } #Chapters and export instructions at source recording times.
public int Width { get; set; } #Screen width in cells (zero detects, fallback 100).
public ExportTheme Theme { get; set; } #Auto uses a terminal recording's captured palette when present, otherwise Dark; explicit themes override it.
public ITheme? CustomTheme { get; set; } #A custom theme to render with (default: the built-in dark or light theme).
public string? Title { get; set; } #The title (page title, title bar, asciicast title).
public bool WindowChrome { get; set; } #Enables the chosen RecordingExportOptions.ChromeStyle. False always hides chrome; style None also hides it.
public WindowChromeStyle ChromeStyle { get; set; } #The title bar style when WindowChrome is true (default MacOS). None hides chrome.
public string FontFamily { get; set; } #The font stack (see ExportOptions.DefaultFontFamily).
public double LineHeight { get; set; } #The cell height as a multiple of the font size (default 1.2).
public double FramesPerSecond { get; set; } #Frames per second sampled from the recording (default 10; identical frames are merged).
public int MaxFrames { get; set; } #Regular sample limit; longer recordings are sampled less often (default 900). Exact marker and trim boundaries are also kept.
public double Speed { get; set; } #Playback speed multiplier baked into the export (default 1).
public TimeSpan HoldLastFrame { get; set; } #How long the last frame stays before the animation loops or ends (default 2 seconds).
public GlyphTier Glyphs { get; set; } #The glyph tier (default GlyphTier.Full).
public CultureInfo? Culture { get; set; } #The culture for numbers and dates (default: the current culture).
public int Padding { get; set; } #Space around the screen in pixels (default 12).
public DateTimeOffset? Timestamp { get; set; } #Asciicast only: the recording time written to the header (default: none).
public RecordingPace Pace { get; set; } #Reading pace. An explicitly assigned value overrides recorded pace directives.
public TimeSpan IdleLimit { get; set; } #Maximum source delay on an unchanged screen after speed scaling; zero disables capping (default 2 seconds). Reading and explicit holds are never capped.
public TimeSpan ChapterHold { get; set; } #Extra time to freeze the screen at each chapter marker (default zero).
public TimeSpan? TrimStart { get; set; } #Inclusive source time at which to begin; null begins at zero.
public TimeSpan? TrimEnd { get; set; } #Exclusive source time at which to end; null includes the final screen.
public string? TrimStartChapter { get; set; } #Begin at this chapter's marker. Cannot be combined with TrimStart.
public string? TrimEndChapter { get; set; } #End before this chapter's marker. Cannot be combined with TrimEnd.
public IDictionary<string, double> ChapterSpeeds { get; } #Speed multipliers by chapter label, multiplied by Speed. Explicit holds keep their requested duration.
Extension Methods
public static RecordingExportOptions ChapterHold(RecordingExportOptions recordingExportOptions, TimeSpan value) #Sets RecordingExportOptions.ChapterHold: Extra time to freeze the screen at each chapter marker (default zero).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { ChapterHold = value }; recordingExportOptions.ChapterHold(value);public static RecordingExportOptions ChromeStyle(RecordingExportOptions recordingExportOptions, WindowChromeStyle value) #Sets RecordingExportOptions.ChromeStyle: The title bar style when WindowChrome is true (default MacOS). None hides chrome.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value ConsoleMonster.Export.WindowChromeStyle
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { ChromeStyle = value }; recordingExportOptions.ChromeStyle(value);public static RecordingExportOptions Culture(RecordingExportOptions recordingExportOptions, CultureInfo? value) #Sets RecordingExportOptions.Culture: The culture for numbers and dates (default: the current culture).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.Globalization.CultureInfo?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Culture = value }; recordingExportOptions.Culture(value);public static RecordingExportOptions CustomTheme(RecordingExportOptions recordingExportOptions, ITheme? value) #Sets RecordingExportOptions.CustomTheme: A custom theme to render with (default: the built-in dark or light theme).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value ConsoleMonster.Styling.ITheme?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { CustomTheme = value }; recordingExportOptions.CustomTheme(value);public static RecordingExportOptions FontFamily(RecordingExportOptions recordingExportOptions, string value) #Sets RecordingExportOptions.FontFamily: The font stack (see ExportOptions.DefaultFontFamily).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { FontFamily = value }; recordingExportOptions.FontFamily(value);public static RecordingExportOptions FontSize(RecordingExportOptions recordingExportOptions, double value) #Sets RecordingExportOptions.FontSize: The font size in pixels (default 14).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { FontSize = value }; recordingExportOptions.FontSize(value);public static RecordingExportOptions FramesPerSecond(RecordingExportOptions recordingExportOptions, double value) #Sets RecordingExportOptions.FramesPerSecond: Frames per second sampled from the recording (default 10; identical frames are merged).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { FramesPerSecond = value }; recordingExportOptions.FramesPerSecond(value);public static RecordingExportOptions Glyphs(RecordingExportOptions recordingExportOptions, GlyphTier value) #Sets RecordingExportOptions.Glyphs: The glyph tier (default GlyphTier.Full).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value ConsoleMonster.Capabilities.GlyphTier
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Glyphs = value }; recordingExportOptions.Glyphs(value);public static RecordingExportOptions Height(RecordingExportOptions recordingExportOptions, int value) #Sets RecordingExportOptions.Height: Screen height in cells (default 30).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Height = value }; recordingExportOptions.Height(value);public static RecordingExportOptions HoldLastFrame(RecordingExportOptions recordingExportOptions, TimeSpan value) #Sets RecordingExportOptions.HoldLastFrame: How long the last frame stays before the animation loops or ends (default 2 seconds).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { HoldLastFrame = value }; recordingExportOptions.HoldLastFrame(value);public static RecordingExportOptions IdleLimit(RecordingExportOptions recordingExportOptions, TimeSpan value) #Sets RecordingExportOptions.IdleLimit: Maximum source delay on an unchanged screen after speed scaling; zero disables capping (default 2 seconds). Reading and explicit holds are never capped.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.TimeSpan
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { IdleLimit = value }; recordingExportOptions.IdleLimit(value);public static RecordingExportOptions LineHeight(RecordingExportOptions recordingExportOptions, double value) #Sets RecordingExportOptions.LineHeight: The cell height as a multiple of the font size (default 1.2).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { LineHeight = value }; recordingExportOptions.LineHeight(value);public static RecordingExportOptions Loop(RecordingExportOptions recordingExportOptions, bool value = true) #Sets RecordingExportOptions.Loop: SVG only: loops the animation (default true).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Loop = value }; recordingExportOptions.Loop(value);public static RecordingExportOptions Marker(RecordingExportOptions recordingExportOptions, RecordingMarker item) #Adds an item to RecordingExportOptions.Markers: Chapters and export instructions at source recording times.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- item ConsoleMonster.Export.RecordingMarker
- The item.
public static RecordingExportOptions Markers(RecordingExportOptions recordingExportOptions, IEnumerable<RecordingMarker> items) #Adds items to RecordingExportOptions.Markers: Chapters and export instructions at source recording times.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- items System.Collections.Generic.IEnumerable<ConsoleMonster.Export.RecordingMarker>
- The items, in order.
public static RecordingExportOptions MaxFrames(RecordingExportOptions recordingExportOptions, int value) #Sets RecordingExportOptions.MaxFrames: Regular sample limit; longer recordings are sampled less often (default 900). Exact marker and trim boundaries are also kept.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { MaxFrames = value }; recordingExportOptions.MaxFrames(value);public static RecordingExportOptions Pace(RecordingExportOptions recordingExportOptions, RecordingPace value) #Sets RecordingExportOptions.Pace: Reading pace. An explicitly assigned value overrides recorded pace directives.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value ConsoleMonster.Export.RecordingPace
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Pace = value }; recordingExportOptions.Pace(value);public static RecordingExportOptions Padding(RecordingExportOptions recordingExportOptions, int value) #Sets RecordingExportOptions.Padding: Space around the screen in pixels (default 12).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Padding = value }; recordingExportOptions.Padding(value);public static RecordingExportOptions Speed(RecordingExportOptions recordingExportOptions, double value) #Sets RecordingExportOptions.Speed: Playback speed multiplier baked into the export (default 1).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Speed = value }; recordingExportOptions.Speed(value);public static RecordingExportOptions Theme(RecordingExportOptions recordingExportOptions, ExportTheme value) #Sets RecordingExportOptions.Theme: Auto uses a terminal recording's captured palette when present, otherwise Dark; explicit themes override it.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value ConsoleMonster.Export.ExportTheme
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Theme = value }; recordingExportOptions.Theme(value);public static RecordingExportOptions Timestamp(RecordingExportOptions recordingExportOptions, DateTimeOffset? value) #Sets RecordingExportOptions.Timestamp: Asciicast only: the recording time written to the header (default: none).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.DateTimeOffset?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Timestamp = value }; recordingExportOptions.Timestamp(value);public static RecordingExportOptions Title(RecordingExportOptions recordingExportOptions, string? value) #Sets RecordingExportOptions.Title: The title (page title, title bar, asciicast title).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Title = value }; recordingExportOptions.Title(value);public static RecordingExportOptions TrimEnd(RecordingExportOptions recordingExportOptions, TimeSpan? value) #Sets RecordingExportOptions.TrimEnd: Exclusive source time at which to end; null includes the final screen.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.TimeSpan?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { TrimEnd = value }; recordingExportOptions.TrimEnd(value);public static RecordingExportOptions TrimEndChapter(RecordingExportOptions recordingExportOptions, string? value) #Sets RecordingExportOptions.TrimEndChapter: End before this chapter's marker. Cannot be combined with TrimEnd.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { TrimEndChapter = value }; recordingExportOptions.TrimEndChapter(value);public static RecordingExportOptions TrimStart(RecordingExportOptions recordingExportOptions, TimeSpan? value) #Sets RecordingExportOptions.TrimStart: Inclusive source time at which to begin; null begins at zero.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value System.TimeSpan?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { TrimStart = value }; recordingExportOptions.TrimStart(value);public static RecordingExportOptions TrimStartChapter(RecordingExportOptions recordingExportOptions, string? value) #Sets RecordingExportOptions.TrimStartChapter: Begin at this chapter's marker. Cannot be combined with TrimStart.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { TrimStartChapter = value }; recordingExportOptions.TrimStartChapter(value);public static RecordingExportOptions Width(RecordingExportOptions recordingExportOptions, int value) #Sets RecordingExportOptions.Width: Screen width in cells (zero detects, fallback 100).
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { Width = value }; recordingExportOptions.Width(value);public static RecordingExportOptions WindowChrome(RecordingExportOptions recordingExportOptions, bool value = true) #Sets RecordingExportOptions.WindowChrome: Enables the chosen RecordingExportOptions.ChromeStyle. False always hides chrome; style None also hides it.
Parameters
- recordingExportOptions ConsoleMonster.Export.RecordingExportOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Export.RecordingExportOptions { WindowChrome = value }; recordingExportOptions.WindowChrome(value);