API Reference
Class
MatrixHtmlRenderOptions
Options for rendering generic 2D matrices to HTML.
Inheritance
- Object
- MatrixHtmlRenderOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method MatrixHtmlRenderer.Render
- Method MatrixHtmlRenderer.RenderToFile
- Method MatrixHtmlRenderer.RenderToFile
- Method MatrixHtmlRenderer.RenderToStream
Constructors
public MatrixHtmlRenderOptions() #Methods
public MatrixHtmlRenderOptions WithDarkColor(String color) #Returns:
MatrixHtmlRenderOptionsSets the dark color (CSS value).
Parameters
- color System.String
public MatrixHtmlRenderOptions WithEmailSafeTable(Boolean enabled = true) #Returns:
MatrixHtmlRenderOptionsEnables or disables email-safe HTML output.
Parameters
- enabled System.Boolean = true
public MatrixHtmlRenderOptions WithLightColor(String color) #Returns:
MatrixHtmlRenderOptionsSets the light color (CSS value).
Parameters
- color System.String
public MatrixHtmlRenderOptions WithModuleSize(Int32 size) #Returns:
MatrixHtmlRenderOptionsSets the module size in pixels.
Parameters
- size System.Int32
public MatrixHtmlRenderOptions WithQuietZone(Int32 quietZone) #Returns:
MatrixHtmlRenderOptionsSets the quiet zone size in modules.
Parameters
- quietZone System.Int32
Inherited Methods
Properties
public Int32 ModuleSize { get; set; } #Module size in pixels.
public Int32 QuietZone { get; set; } #Quiet zone size in modules.
public String DarkColor { get; set; } #Foreground color (CSS).
public String LightColor { get; set; } #Background color (CSS).
public Boolean EmailSafeTable { get; set; } #When true, renders HTML using email-safe tables.