ExportOptions Class#
Options that control visibility-aware export. When Verso.Export.ExportOptions.LayoutId is non-null
and Verso.Export.ExportOptions.SupportedVisibilityStates and Verso.Export.ExportOptions.Renderers are provided,
cells are filtered through CellVisibilityResolver before export.
When Verso.Export.ExportOptions.RespectCellViewState is true (the default), exporters also honor
the user-actionable subset of per-cell view-state metadata
(verso:ui.outputVisibility, verso:ui.inputCollapsed,
verso:ui.outputPreviewLineCount).
public record ExportOptions : System.IEquatable<Verso.Export.ExportOptions>
Inheritance System.Object → ExportOptions
Implements System.IEquatable<ExportOptions>
Constructors#
ExportOptions(string, IReadOnlySet<CellVisibilityState>, IReadOnlyList<ICellRenderer>, bool) Constructor#
Options that control visibility-aware export. When Verso.Export.ExportOptions.LayoutId is non-null
and Verso.Export.ExportOptions.SupportedVisibilityStates and Verso.Export.ExportOptions.Renderers are provided,
cells are filtered through CellVisibilityResolver before export.
When Verso.Export.ExportOptions.RespectCellViewState is true (the default), exporters also honor
the user-actionable subset of per-cell view-state metadata
(verso:ui.outputVisibility, verso:ui.inputCollapsed,
verso:ui.outputPreviewLineCount).
public ExportOptions(string? LayoutId=null, System.Collections.Generic.IReadOnlySet<Verso.Abstractions.CellVisibilityState>? SupportedVisibilityStates=null, System.Collections.Generic.IReadOnlyList<Verso.Abstractions.ICellRenderer>? Renderers=null, bool RespectCellViewState=true);
Parameters#
LayoutId System.String
SupportedVisibilityStates System.Collections.Generic.IReadOnlySet<CellVisibilityState>
Renderers System.Collections.Generic.IReadOnlyList<ICellRenderer>
RespectCellViewState System.Boolean