Docs · API reference · Verso.Abstractions
IFormatterContext Interface#
Context provided to data formatters when converting objects to display representations. Extends IVersoContext with formatting constraints.
public interface IFormatterContext : Verso.Abstractions.IVersoContext
Implements IVersoContext
Properties#
CellId Property#
Gets the cell whose output is being formatted, or null when the value is not being
formatted for a cell (i.e. variable explorer).
System.Nullable<System.Guid> CellId { get; }
Property Value#
MaxHeight Property#
Gets the maximum height available for the formatted output, in device-independent units.
double MaxHeight { get; }
Property Value#
MaxWidth Property#
Gets the maximum width available for the formatted output, in device-independent units.
double MaxWidth { get; }
Property Value#
MimeType Property#
Gets the target MIME type for the formatted output (e.g., "text/html", "text/plain").
string MimeType { get; }